sceUtility: forget injected firmware modules between games

Clear them in __UtilityInit, which runs per boot.
This commit is contained in:
Henrik Rydgård authored and Henrik Rydgård committed 2026-09-08 16:57:43 -06:00
1 parent c192ddcaa1
commit a333a93a7c
1 file changed
+3
+3
View File
@@ -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();