Fix Savestates recent regression

This commit is contained in:
Elad
2025-01-28 18:49:19 +02:00
committed by GitHub
parent 7fc0f69e48
commit 665bb83297
3 changed files with 22 additions and 8 deletions
+5
View File
@@ -3038,6 +3038,11 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s
if (!IsStopped() && savestate)
{
if (IsStarting())
{
return;
}
if (!save_stage || !save_stage->prepared)
{
if (m_emu_state_close_pending.exchange(true))