mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Merge branch 'tiny-joystick-fix' into 'master'
Tiny fix so that joystick2 being closed can let the JoystickSubSystem close before game close. See merge request STJr/SRB2!292
This commit is contained in:
commit
9914353758
1 changed files with 1 additions and 0 deletions
|
|
@ -1154,6 +1154,7 @@ static void I_ShutdownJoystick2(void)
|
|||
D_PostEvent(&event);
|
||||
}
|
||||
|
||||
joystick2_started = 0;
|
||||
JoyReset(&JoyInfo2);
|
||||
if (!joystick_started && !joystick2_started && SDL_WasInit(SDL_INIT_JOYSTICK) == SDL_INIT_JOYSTICK)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue