Bug fix for shutdown of joystick system.
This commit is contained in:
parent
4175ca6052
commit
976266547c
|
@ -932,6 +932,9 @@ KillJoysticks(void)
|
||||||
jsDev[n].close();
|
jsDev[n].close();
|
||||||
}
|
}
|
||||||
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
|
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
|
||||||
|
|
||||||
|
s_jinited = 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue