mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Fix Emu.Restart()
This commit is contained in:
parent
0da556e1f8
commit
b7e010bbd0
1 changed files with 5 additions and 1 deletions
|
@ -1352,7 +1352,11 @@ 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;
|
m_force_boot = false;
|
||||||
return;
|
|
||||||
|
if (restart)
|
||||||
|
{
|
||||||
|
return Load();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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