mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-07 04:39:26 -05:00
We were registering the hotplug callback when starting the thread, but deregistering it when shutting down GCAdapter as a whole. Because the thread can start and stop potentially many times before GCAdapter shuts down, this led to callbacks being registered when we already have callbacks. On Android, this was making Dolphin's Kotlin code for registering the callback throw an IllegalStateException. To fix this, deregister the callback when stopping the thread. |
||
|---|---|---|
| .. | ||
| ControllerEmu | ||
| ControllerInterface | ||
| ControlReference | ||
| DynamicInputTextures | ||
| CMakeLists.txt | ||
| DynamicInputTextureManager.cpp | ||
| DynamicInputTextureManager.h | ||
| GCAdapter.cpp | ||
| GCAdapter.h | ||
| GCPadStatus.h | ||
| ImageOperations.cpp | ||
| ImageOperations.h | ||
| InputConfig.cpp | ||
| InputConfig.h | ||
| InputProfile.cpp | ||
| InputProfile.h | ||
| KeyboardStatus.h | ||