mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Savestate: Reset what older states lack instead of keeping pre-load values
Missing sections (videocodec, audiocodec, aac, mp3) and old-version branches (impose, io, umd, gps, mic, display, font) left the session before the load in place. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
8663ce2a33
commit
cd94e414cd
11 files changed
+65
-7
No files matched your search
@@ -299,6 +299,10 @@ void __DisplayDoState(PointerWrap &p) {
|
||||
Do(p, lastFlipCycles);
|
||||
Do(p, nextFlipCycles);
|
||||
}
|
||||
if (p.mode == p.MODE_READ) {
|
||||
// Not saved. Start counting again rather than carry over the session before the load.
|
||||
lastFlipsTooFrequent = 0;
|
||||
}
|
||||
|
||||
gpu->DoState(p);
|
||||
|
||||
|
||||
Reference in new issue
Block a user