Add comments to explain the usage of the WiimoteReal Stop/Shutdown

routine usage.
This commit is contained in:
Glenn Rice 2013-07-31 09:19:28 -05:00
parent 01987be6b9
commit 7aae59a766

View File

@ -570,6 +570,7 @@ void Initialize(bool wait)
g_real_wiimotes_initialized = true;
}
// called on emulation shutdown
void Stop(void)
{
for (unsigned int i = 0; i < MAX_BBMOTES; ++i)
@ -577,6 +578,7 @@ void Stop(void)
g_wiimotes[i]->EmuStop();
}
// called when the dolphin app exits
void Shutdown(void)
{
g_wiimote_scanner.StopScanning();