Add hotplug support to SDL2 controller backend

This commit is contained in:
Michael M authored and Léo Lam committed 2018-06-04 17:50:08 +02:00
1 parent 7062967b5b
commit 932ca644aa
3 files changed
+143 -27

No files matched your search

@@ -158,8 +158,7 @@ void ControllerInterface::Shutdown()
ciface::Quartz::DeInit();
#endif
#ifdef CIFACE_USE_SDL
// TODO: there seems to be some sort of memory leak with SDL, quit isn't freeing everything up
SDL_Quit();
ciface::SDL::DeInit();
#endif
#ifdef CIFACE_USE_ANDROID
// nothing needed