summaryrefslogtreecommitdiff
path: root/src/core/loader/elf.cpp
diff options
context:
space:
mode:
authorGravatar Morph2020-09-03 11:07:57 -0400
committerGravatar Morph2020-10-16 00:04:59 -0400
commit7b3f5845d28fdf245967b930452d392458fd8535 (patch)
tree7b627a0d7985ec42e90e6f4348f60c3094e31e0d /src/core/loader/elf.cpp
parentMerge pull request #4790 from lioncash/input-common (diff)
downloadyuzu-7b3f5845d28fdf245967b930452d392458fd8535.tar.gz
yuzu-7b3f5845d28fdf245967b930452d392458fd8535.tar.xz
yuzu-7b3f5845d28fdf245967b930452d392458fd8535.zip
sdl_impl: Erase the SDLJoystick entry after removing a controller
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.
Diffstat (limited to 'src/core/loader/elf.cpp')
0 files changed, 0 insertions, 0 deletions