mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 05:57:44 +00:00
This prevents an assertion whem LINUX_JoystickGetGamepadMapping tried to open the stick temporarily and messed with global state by doing so. Now the global state is only set in LINUX_JoystickOpen, but the common code is shared by both interfaces. Fixes #4198.