SDLControllerInterface: Fix crash on shutdown

This commit is contained in:
Connor McLaughlin
2020-03-22 12:37:11 +10:00
parent 8190efa5dc
commit 46f921fb95
2 changed files with 8 additions and 14 deletions

View File

@ -52,8 +52,7 @@ private:
ControllerDataVector::iterator GetControllerDataForPlayerId(int id);
bool OpenGameController(int index);
bool CloseGameController(int joystick_index);
void CloseGameControllers();
bool CloseGameController(int joystick_index, bool notify);
bool HandleControllerAxisEvent(const SDL_Event* event);
bool HandleControllerButtonEvent(const SDL_Event* event);