* BugFix: Correct invalid fall-through behavior in sdlInputManager.cpp.

This commit is contained in:
Robert MacGregor 2022-05-25 19:25:33 -04:00
parent 13a296aae8
commit d5d846f311

View file

@ -303,6 +303,7 @@ void SDLInputManager::processEvent(SDL_Event &evt)
{ {
onSDLDeviceDisconnected_callback(evt.jdevice.which); onSDLDeviceDisconnected_callback(evt.jdevice.which);
closeJoystick(evt.jdevice.which); closeJoystick(evt.jdevice.which);
break;
} }
case SDL_CONTROLLERAXISMOTION: case SDL_CONTROLLERAXISMOTION: