mirror of
https://github.com/yuzu-mirror/yuzu
synced 2025-01-07 02:28:53 +00:00
7b3f5845d2
Previously, disconnecting a controller still leaves a null SDLJoystick entry within the vector of SDLJoysticks mapped by GUID. When a DirectInput device of the same GUID is reconnected, it adds that device to a new port causing non-detectable input. Furthermore, opening the "Configure" menu would cause yuzu to crash since it first tries to resolve the name of a null SDLJoystick entry that was not removed. Resolve this by properly erasing the SDLJoystick entry from the vector. |
||
---|---|---|
.. | ||
sdl.cpp | ||
sdl.h | ||
sdl_impl.cpp | ||
sdl_impl.h |