mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -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();
|
||||||
|
Reference in New Issue
Block a user