aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/command_classes/codecs/vp9.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-10-21 08:42:11 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-10-21 09:41:30 -0400
commit62e0851476270284b01baffa45f1950bea22c08c (patch)
tree1afa3cd5d81945d081607327cef059219511099c /src/video_core/command_classes/codecs/vp9.cpp
parent2a54a39e0c1b89925e73831c793120b97203c49b (diff)
sdl_impl: Fix controller reconnection issues
It turns out that after a controller is disconnected, there is a chance that events from the previous controller are sent/processed after it has been disconnected. This causes the previously disconnected controller to reappear as connected due to GetSDLJoystickBySDLID() emplacing this controller back to the map. Fix this by only returning an SDLJoystick if and only if it exists in the map.
Diffstat (limited to 'src/video_core/command_classes/codecs/vp9.cpp')
0 files changed, 0 insertions, 0 deletions