Skip to content

Commit

Permalink
Allow mappings to be added before GameControllerInit
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Mar 7, 2016
1 parent 1e8df9c commit 2a754ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/joystick/SDL_gamecontroller.c
Expand Up @@ -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);
Expand Down

0 comments on commit 2a754ca

Please sign in to comment.