mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-07 07:35:02 -06:00
Fix Emu.Restart()
This commit is contained in:
parent
0da556e1f8
commit
b7e010bbd0
@ -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…
Reference in New Issue
Block a user