mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
Fix consistency in Emu::Stop()
Don't clear force_boot on shortcut Load()
This commit is contained in:
parent
b2f29cd4d4
commit
680aaf21f0
1 changed files with 3 additions and 2 deletions
|
@ -1351,12 +1351,13 @@ void Emulator::Stop(bool restart)
|
||||||
{
|
{
|
||||||
if (m_state.exchange(system_state::stopped) == system_state::stopped)
|
if (m_state.exchange(system_state::stopped) == system_state::stopped)
|
||||||
{
|
{
|
||||||
m_force_boot = false;
|
|
||||||
|
|
||||||
if (restart)
|
if (restart)
|
||||||
{
|
{
|
||||||
return Load();
|
return Load();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_force_boot = false;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool do_exit = !restart && !m_force_boot && g_cfg.misc.autoexit;
|
const bool do_exit = !restart && !m_force_boot && g_cfg.misc.autoexit;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue