mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed implicit memcpy() when building for ARM64 on Windows (thanks Seigo!)
This commit is contained in:
parent
010d5fba93
commit
ddc0727bba
@ -601,8 +601,8 @@ EnumJoysticksCallback(const DIDEVICEINSTANCE * pdidInstance, VOID * pContext)
|
||||
pPrevJoystick->pNext = pNewJoystick->pNext;
|
||||
}
|
||||
|
||||
// Update with new guid/etc, if it has changed
|
||||
pNewJoystick->dxdevice = *pdidInstance;
|
||||
/* Update with new guid/etc, if it has changed */
|
||||
SDL_memcpy(&pNewJoystick->dxdevice, pdidInstance, sizeof(DIDEVICEINSTANCE));
|
||||
|
||||
pNewJoystick->pNext = SYS_Joystick;
|
||||
SYS_Joystick = pNewJoystick;
|
||||
|
Loading…
Reference in New Issue
Block a user