mirror of
https://github.com/encounter/SDL.git
synced 2025-05-28 02:01:25 +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.