mirror of https://github.com/encounter/SDL.git
SWITCH: fix crash on exit (hidSetNpadJoyAssignmentModeDual on invalid controller in quit)
This commit is contained in:
parent
1a52258796
commit
53e19d42b9
|
@ -201,9 +201,6 @@ SDL_SYS_JoystickClose(SDL_Joystick *joystick)
|
||||||
void
|
void
|
||||||
SDL_SYS_JoystickQuit(void)
|
SDL_SYS_JoystickQuit(void)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < JOYSTICK_COUNT; i++) {
|
|
||||||
hidSetNpadJoyAssignmentModeDual(pad[i].id);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID(int device_index)
|
SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID(int device_index)
|
||||||
|
|
Loading…
Reference in New Issue