summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2019-11-04 17:15:13 +0100
committerJosJuice <josjuice@gmail.com>2019-11-05 09:28:40 +0100
commitc007dd1852896efe1671ade96fa50080a030a51b (patch)
tree79e75e549ef6df4ca239987625d7ad9830e4fc1d /Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp
parent0f4c971326ae9389b3ad55b0fefacb708d148f4d (diff)
Android: Replace emulation rotation crash workaround with proper fix
The workaround was added in 0446a58. The underlying problem is that we must not destroy the surface while the video backend is initializing, otherwise the video backend may reference nullptr. I've also cleaned up the logic for when to destroy the surface. Note that the comment in EmulationFragment.java about only being able to destroy the surface when emulation is running is not true anymore (due to de632fc, it seems like).
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp')
0 files changed, 0 insertions, 0 deletions