Wiimote: Reset variables on Shutdown(). I think this makes DoesChannelExist(scid) in the Core to return false.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2116 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-02-05 00:13:38 +00:00
parent c9c95534c8
commit 3d73d781ec
3 changed files with 27 additions and 9 deletions

View File

@ -41,10 +41,10 @@ namespace WiiMoteEmu
// Definitions and variable declarations
//******************************************************************************
u8 g_Leds = 0x0; // 4 bits
u8 g_Speaker = 0x0; // 1 = on
u8 g_SpeakerVoice = 0x0; // 1 = on
u8 g_IR = 0x0; // 1 = on
u8 g_Leds;
u8 g_Speaker;
u8 g_SpeakerVoice;
u8 g_IR;
u8 g_Eeprom[WIIMOTE_EEPROM_SIZE];
u8 g_RegSpeaker[WIIMOTE_REG_SPEAKER_SIZE];