mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 04:25:34 +00:00
SDL_windows_main.c: replace CopyMemory() with SDL_memcpy()
This commit is contained in:
parent
ec0204d243
commit
63e12cf601
|
@ -70,7 +70,7 @@ main_getcmdline(void)
|
||||||
if (!argv[i]) {
|
if (!argv[i]) {
|
||||||
return OutOfMemory();
|
return OutOfMemory();
|
||||||
}
|
}
|
||||||
CopyMemory(argv[i], arg, len);
|
SDL_memcpy(argv[i], arg, len);
|
||||||
SDL_free(arg);
|
SDL_free(arg);
|
||||||
}
|
}
|
||||||
argv[i] = NULL;
|
argv[i] = NULL;
|
||||||
|
|
Loading…
Reference in a new issue