Wiimote: Fixed slight oversight in the last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2086 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f3e5f06def
commit
1ead45ca04
|
@ -170,8 +170,15 @@ void ConfigDialog::CloseClick(wxCommandEvent& event)
|
||||||
switch(event.GetId())
|
switch(event.GetId())
|
||||||
{
|
{
|
||||||
case ID_CLOSE:
|
case ID_CLOSE:
|
||||||
WiiMoteReal::g_Shutdown = true;
|
if(!g_EmulatorRunning)
|
||||||
m_ShutDownTimer->Start(10);
|
{
|
||||||
|
WiiMoteReal::g_Shutdown = true;
|
||||||
|
m_ShutDownTimer->Start(10);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case ID_APPLY:
|
case ID_APPLY:
|
||||||
SaveFile();
|
SaveFile();
|
||||||
|
|
Loading…
Reference in New Issue