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

@ -249,8 +249,8 @@ void ReadWiimote()
std::string Temp;
/* Timeout for data reading. This is used in Initialize() to read the Eeprom, if we have not gotten
what we wanted in the WIIUSE_READ_DATA case we stop this loop to avoid interference with the regular
wiiuse_io_read() and wiiuse_io_write() communication. */
what we wanted in the WIIUSE_READ_DATA case we stop this loop and enable the regular
wiiuse_io_read() and wiiuse_io_write() loop again. */
if (g_RunTemporary)
{
// This holds if the update rate of wiiuse_poll() is kept at the default value of 10 ms