Browse Source

Fixed crash in SDL_PrivateGameControllerRefreshMapping()

(cherry picked from commit 7a9966af9d7f4817b72d28a5af38751b0968d1ca)
Sam Lantinga 2 years ago
parent
commit
980208b814
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/joystick/SDL_gamecontroller.c

+ 0 - 2
src/joystick/SDL_gamecontroller.c

@@ -1213,8 +1213,6 @@ static void SDL_PrivateGameControllerRefreshMapping(ControllerMapping_t *pContro
                 SDL_PushEvent(&event);
             }
         }
-
-        controller = controller->next;
     }
 }