mirror of
https://github.com/encounter/SDL.git
synced 2025-08-14 07:59:11 +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.