mirror of
https://github.com/encounter/SDL.git
synced 2025-07-03 11:46:01 +00:00
Prior to this fix, we would hit the existing_instance >= 0 case and move the joystick again to a different index than the one requested by the caller. It also breaks the assumption that a SDL_JoystickID is only present in SDL_joystick_players at one location.