mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
ControllerInterface: Allow hotplug callbacks to be unregistered and don't reload the entire config from the ini file on hotplug, just update the control references. This should fix a crash on shutdown on Android.
This commit is contained in:
parent
c2afcb0f6b
commit
b425f86121
10 changed files with 62 additions and 16 deletions
|
@ -281,11 +281,11 @@ void MainWindow::ShutdownControllers()
|
|||
{
|
||||
m_hotkey_scheduler->Stop();
|
||||
|
||||
g_controller_interface.Shutdown();
|
||||
Pad::Shutdown();
|
||||
Keyboard::Shutdown();
|
||||
Wiimote::Shutdown();
|
||||
HotkeyManagerEmu::Shutdown();
|
||||
g_controller_interface.Shutdown();
|
||||
|
||||
m_hotkey_scheduler->deleteLater();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue