From 932ca644aa92c01d60827206562938bfd877ecb3 Mon Sep 17 00:00:00 2001 From: Michael M Date: Thu, 9 Nov 2017 14:06:58 -0800 Subject: Add hotplug support to SDL2 controller backend --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp index 328258a8b2..0e6857c137 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp @@ -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 -- cgit v1.2.3