mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 00:05:35 +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]) {
|
||||
return OutOfMemory();
|
||||
}
|
||||
CopyMemory(argv[i], arg, len);
|
||||
SDL_memcpy(argv[i], arg, len);
|
||||
SDL_free(arg);
|
||||
}
|
||||
argv[i] = NULL;
|
||||
|
|
Loading…
Reference in a new issue