Ooops, forgot to save one file before commiting! =\

Really sorry about that...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4766 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
fgfemperor 2010-01-01 00:46:52 +00:00
parent 7359b3b2a6
commit 195f734054

View File

@ -75,7 +75,7 @@ void WiimoteBasicConfigDialog::OnClose(wxCloseEvent& event)
EndModal(wxID_CLOSE);
// Shutdown Real WiiMotes so everything is set properly before the game starts
if (g_RealWiiMoteInitialized)
if (g_RealWiiMoteInitialized && !g_EmulatorRunning)
WiiMoteReal::Shutdown();
}