Fix auto exit
- Don't quit on stop if force boot was set - Don't stop the emulator on gs_frame close when it was already stopped. This would remove the force boot flag by mistake.
This commit is contained in:
@@ -1957,7 +1957,7 @@ void Emulator::Stop(bool restart)
|
||||
// Always Enable display sleep, not only if it was prevented.
|
||||
enable_display_sleep();
|
||||
|
||||
if (Quit(g_cfg.misc.autoexit.get()))
|
||||
if (!m_force_boot && Quit(g_cfg.misc.autoexit.get()))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user