mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
memset g_xinput_states to 0
This commit is contained in:
parent
03a745e5b4
commit
f25306ba22
@ -272,6 +272,8 @@ static void xdk_joypad_destroy(void)
|
||||
analog_state[i][0][1] = 0;
|
||||
analog_state[i][1][0] = 0;
|
||||
analog_state[i][1][1] = 0;
|
||||
|
||||
memset(&g_xinput_states[i], 0, sizeof(xinput_joypad_state));
|
||||
#if defined(_XBOX1)
|
||||
if (gamepads[i])
|
||||
XInputClose(gamepads[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user