From cc6112cbc407c9488a569a70782d3b1c010ec8e5 Mon Sep 17 00:00:00 2001 From: Eladash Date: Sun, 23 Oct 2022 08:55:03 +0300 Subject: [PATCH] Savestates: Auto-relaunch savestate when suspen mode is off --- rpcs3/Emu/System.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 3f571bd7a2..92e1ebb34a 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -2550,6 +2550,13 @@ std::shared_ptr Emulator::Kill(bool allow_autoexit, bool savestat } ar.set_reading_state(); + + if (!g_cfg.savestate.suspend_emu) + { + to_ar.reset(); + Restart(); + return to_ar; + } } // Boot arg cleanup (preserved in the case restarting)