mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-10 19:03:39 +02: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.