mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-31 16:20:32 +00:00
Add comments to explain the usage of the WiimoteReal Stop/Shutdown
routine usage.
This commit is contained in:
parent
01987be6b9
commit
7aae59a766
@ -570,6 +570,7 @@ void Initialize(bool wait)
|
|||||||
g_real_wiimotes_initialized = true;
|
g_real_wiimotes_initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// called on emulation shutdown
|
||||||
void Stop(void)
|
void Stop(void)
|
||||||
{
|
{
|
||||||
for (unsigned int i = 0; i < MAX_BBMOTES; ++i)
|
for (unsigned int i = 0; i < MAX_BBMOTES; ++i)
|
||||||
@ -577,6 +578,7 @@ void Stop(void)
|
|||||||
g_wiimotes[i]->EmuStop();
|
g_wiimotes[i]->EmuStop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// called when the dolphin app exits
|
||||||
void Shutdown(void)
|
void Shutdown(void)
|
||||||
{
|
{
|
||||||
g_wiimote_scanner.StopScanning();
|
g_wiimote_scanner.StopScanning();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user