Allow mappings to be added before GameControllerInit

This commit is contained in:
Ethan Lee 2016-03-07 08:22:55 -05:00
parent 5024f42aae
commit be57775a6c

View file

@ -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);