Bug fix for shutdown of joystick system.

This commit is contained in:
Matthew Budd 2020-07-24 22:41:19 -04:00
parent 4175ca6052
commit 976266547c
1 changed files with 3 additions and 0 deletions

View File

@ -932,6 +932,9 @@ KillJoysticks(void)
jsDev[n].close();
}
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
s_jinited = 0;
return 0;
}