Set g_Config.bNumberRealWiimotes as volatile. Otherwise connected real wiimotes are not acted on.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5802 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-06-26 16:48:57 +00:00
parent 8bfb17bba1
commit b372fe4329
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ struct Config
// Real Wiimote
bool bUpdateRealWiimote, bUnpairRealWiimote, bPairRealWiimote;
int bNumberRealWiimotes, bNumberEmuWiimotes, bWiiReadTimeout;
volatile int bNumberRealWiimotes;
int bNumberEmuWiimotes, bWiiReadTimeout;
int iIRLeft, iIRTop, iIRWidth, iIRHeight, iIRLevel;
int iAccNeutralX, iAccNeutralY, iAccNeutralZ;
int iAccNunNeutralX, iAccNunNeutralY, iAccNunNeutralZ;