Load IR Pointer settings on every game boot, because that's a per-game setting (each game has it's own IR calibration)...

Please ignore previous revision, which is a proof of why late-night coding isn't always a good idea...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4853 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
fgfemperor
2010-01-16 15:02:01 +00:00
parent e203c80c5d
commit 1a25dfe279
3 changed files with 18 additions and 6 deletions

View File

@ -227,6 +227,9 @@ void Initialize(void *init)
WMdisplay = (Display*)g_WiimoteInitialize.hWnd;
#endif
// Load IR settings, as this is a per-game setting and the user might have loaded a different game
g_Config.LoadIR();
g_ISOId = g_WiimoteInitialize.ISOId;
DEBUG_LOG(WIIMOTE, "ISOId: %08x %s", g_WiimoteInitialize.ISOId, Hex2Ascii(g_WiimoteInitialize.ISOId).c_str());