Minor changes related to Emu.Stop()
This commit is contained in:
@@ -1957,9 +1957,12 @@ void Emulator::Stop(bool restart)
|
||||
// Always Enable display sleep, not only if it was prevented.
|
||||
enable_display_sleep();
|
||||
|
||||
if (!m_force_boot && Quit(g_cfg.misc.autoexit.get()))
|
||||
if (!m_force_boot)
|
||||
{
|
||||
return;
|
||||
if (Quit(g_cfg.misc.autoexit.get()))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
m_force_boot = false;
|
||||
|
||||
Reference in New Issue
Block a user