From b7e010bbd06dd23dbec25158b9e807018b255932 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 19 Sep 2018 20:54:55 +0200 Subject: [PATCH] Fix Emu.Restart() --- rpcs3/Emu/System.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 81f4ccbebc..cbb4c11eca 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -1352,7 +1352,11 @@ void Emulator::Stop(bool restart) if (m_state.exchange(system_state::stopped) == system_state::stopped) { m_force_boot = false; - return; + + if (restart) + { + return Load(); + } } const bool do_exit = !restart && !m_force_boot && g_cfg.misc.autoexit;