From 3ba9a15f09cd91597587dc1406a5f940442ba378 Mon Sep 17 00:00:00 2001 From: Ty Lamontagne Date: Thu, 26 Dec 2024 13:54:23 -0500 Subject: [PATCH] EE Cache: Freeze cached entries in sstates [SAVEVERSION+] --- pcsx2/SaveState.cpp | 1 + pcsx2/SaveState.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/SaveState.cpp b/pcsx2/SaveState.cpp index 1dcae02518a0b..e7719814cf554 100644 --- a/pcsx2/SaveState.cpp +++ b/pcsx2/SaveState.cpp @@ -183,6 +183,7 @@ bool SaveStateBase::FreezeInternals(Error* error) Freeze(psxRegs); // iop regs Freeze(fpuRegs); Freeze(tlb); // tlbs + Freeze(cachedTlbs); // cached tlbs Freeze(AllowParams1); //OSDConfig written (Fast Boot) Freeze(AllowParams2); diff --git a/pcsx2/SaveState.h b/pcsx2/SaveState.h index 709468b709930..8165e48d216b8 100644 --- a/pcsx2/SaveState.h +++ b/pcsx2/SaveState.h @@ -25,7 +25,7 @@ enum class FreezeAction // [SAVEVERSION+] // This informs the auto updater that the users savestates will be invalidated. -static const u32 g_SaveVersion = (0x9A52 << 16) | 0x0000; +static const u32 g_SaveVersion = (0x9A53 << 16) | 0x0000; // the freezing data between submodules and core