mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fixed the crash which occurred when opening Wiimote configuration before a game was started.
This commit is contained in:
@ -484,10 +484,9 @@ void EmuThread()
|
||||
HW::Shutdown();
|
||||
INFO_LOG(CONSOLE, "%s", StopMessage(false, "HW shutdown").c_str());
|
||||
|
||||
Wiimote::Shutdown();
|
||||
|
||||
if (init_controllers)
|
||||
{
|
||||
Wiimote::Shutdown();
|
||||
Keyboard::Shutdown();
|
||||
Pad::Shutdown();
|
||||
init_controllers = false;
|
||||
|
Reference in New Issue
Block a user