mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 09:32:42 +00:00
Fix consistency in Emu::Stop()
Don't clear force_boot on shortcut Load()
This commit is contained in:
parent
b2f29cd4d4
commit
680aaf21f0
@ -1351,12 +1351,13 @@ void Emulator::Stop(bool restart)
|
||||
{
|
||||
if (m_state.exchange(system_state::stopped) == system_state::stopped)
|
||||
{
|
||||
m_force_boot = false;
|
||||
|
||||
if (restart)
|
||||
{
|
||||
return Load();
|
||||
}
|
||||
|
||||
m_force_boot = false;
|
||||
return;
|
||||
}
|
||||
|
||||
const bool do_exit = !restart && !m_force_boot && g_cfg.misc.autoexit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user