mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 11:02:28 +02: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:
parent
f3e5f06def
commit
1ead45ca04
@ -170,8 +170,15 @@ void ConfigDialog::CloseClick(wxCommandEvent& event)
|
||||
switch(event.GetId())
|
||||
{
|
||||
case ID_CLOSE:
|
||||
WiiMoteReal::g_Shutdown = true;
|
||||
m_ShutDownTimer->Start(10);
|
||||
if(!g_EmulatorRunning)
|
||||
{
|
||||
WiiMoteReal::g_Shutdown = true;
|
||||
m_ShutDownTimer->Start(10);
|
||||
}
|
||||
else
|
||||
{
|
||||
Close();
|
||||
}
|
||||
break;
|
||||
case ID_APPLY:
|
||||
SaveFile();
|
||||
|
Loading…
Reference in New Issue
Block a user