don't check SaveRamModified on shutdown

let's flush the saveram unconditionally instead of relying on SaveRamModified which could get unset from autosaves or elsewhere

see also #4344
This commit is contained in:
Morilli 2025-06-04 18:51:01 +02:00
parent a2cf4e0797
commit 150fc2f4c2
1 changed files with 1 additions and 1 deletions

View File

@ -4094,7 +4094,7 @@ namespace BizHawk.Client.EmuHawk
AddOnScreenMessage("SRAM cleared.");
}
}
else if (Emulator.HasSaveRam() && Emulator.AsSaveRam().SaveRamModified)
else if (Emulator.HasSaveRam())
{
if (!FlushSaveRAM())
{