From a333a93a7c7d28ea2ab191d60f8b87eec45951b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 8 Sep 2026 16:34:06 -0600 Subject: [PATCH] sceUtility: forget injected firmware modules between games Clear them in __UtilityInit, which runs per boot. --- Core/HLE/sceUtility.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/HLE/sceUtility.cpp b/Core/HLE/sceUtility.cpp index a6a9ba32fc..1f1f90f14c 100644 --- a/Core/HLE/sceUtility.cpp +++ b/Core/HLE/sceUtility.cpp @@ -364,6 +364,9 @@ void __UtilityInit() { DeactivateDialog(); SavedataParam::Init(); currentlyLoadedModules.clear(); + // Vital to reset these between games, otherwise we might think they're already loaded. + g_mp4RealModules[0] = 0; + g_mp4RealModules[1] = 0; volatileUnlockEvent = CoreTiming::RegisterEvent("UtilityVolatileUnlock", UtilityVolatileUnlock); ResetSecondsSinceLastGameSave();