From 716b4af81548614200cdfa560079c9c3b7a8e896 Mon Sep 17 00:00:00 2001 From: DesperateProgrammer Date: Thu, 18 Jan 2024 14:35:03 +0100 Subject: [PATCH] Added ICacheLockDown and DCacheLockDown to CP15 savestate --- src/CP15.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CP15.cpp b/src/CP15.cpp index ebebf975..b4bc5050 100644 --- a/src/CP15.cpp +++ b/src/CP15.cpp @@ -87,6 +87,9 @@ void ARMv5::CP15DoSavestate(Savestate* file) file->VarArray(ITCM, ITCMPhysicalSize); file->VarArray(DTCM, DTCMPhysicalSize); + file->Var32(&DCacheLockDown); + file->Var32(&ICacheLockDown); + file->Var32(&PU_CodeCacheable); file->Var32(&PU_DataCacheable); file->Var32(&PU_DataCacheWrite);