From 2a754ca735566446b5e175b2de381147df655d2c Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Mon, 7 Mar 2016 08:22:55 -0500 Subject: [PATCH] Allow mappings to be added before GameControllerInit --- src/joystick/SDL_gamecontroller.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c index 0fd1ef4a7..93e6fbfb2 100644 --- a/src/joystick/SDL_gamecontroller.c +++ b/src/joystick/SDL_gamecontroller.c @@ -861,7 +861,6 @@ SDL_GameControllerInit(void) { int i = 0; const char *pMappingString = NULL; - s_pSupportedControllers = NULL; pMappingString = s_ControllerMappings[i]; while (pMappingString) { SDL_GameControllerAddMapping(pMappingString);