mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Savestates: Auto-relaunch savestate when suspen mode is off
This commit is contained in:
parent
f16c9cd3c6
commit
cc6112cbc4
1 changed files with 7 additions and 0 deletions
|
@ -2550,6 +2550,13 @@ std::shared_ptr<utils::serial> 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue