mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
SaveState: Restore replacements in only one place.
This commit is contained in:
1 parent
0a98ac43fa
commit
17d94cd358
3 files changed
+8
-3
No files matched your search
+5
-1
@@ -316,7 +316,11 @@ namespace SaveState
|
||||
} else {
|
||||
Memory::DoState(p);
|
||||
}
|
||||
RestoreSavedReplacements(savedReplacements);
|
||||
|
||||
// Don't bother restoring if reading, we'll deal with that in KernelModuleDoState.
|
||||
// In theory, different functions might have been runtime loaded in the state.
|
||||
if (p.mode != p.MODE_READ)
|
||||
RestoreSavedReplacements(savedReplacements);
|
||||
|
||||
MemoryStick_DoState(p);
|
||||
currentMIPS->DoState(p);
|
||||
|
||||
Reference in new issue
Block a user