mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Re-add the HandleWiimoteDisconnect calls to the RealWiimote::Shutdown
routine. This is needed to actually disconnect real wiimotes and delete the corresponding wiimote objects when the app exits.
This commit is contained in:
parent
7aae59a766
commit
be76dc153b
@ -591,6 +591,9 @@ void Shutdown(void)
|
||||
NOTICE_LOG(WIIMOTE, "WiimoteReal::Shutdown");
|
||||
|
||||
g_real_wiimotes_initialized = false;
|
||||
|
||||
for (unsigned int i = 0; i < MAX_BBMOTES; ++i)
|
||||
HandleWiimoteDisconnect(i);
|
||||
}
|
||||
|
||||
void Resume()
|
||||
|
Loading…
x
Reference in New Issue
Block a user