mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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:
@ -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()
|
||||
|
Reference in New Issue
Block a user