mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 05:50:29 +02:00
Merge pull request #4420 from unknownbrackets/savestates
Enable rewind feature in UI, fix a savestate bug
This commit is contained in:
commit
b2298a9e86
8 files changed
+50
-7
No files matched your search
@@ -520,7 +520,7 @@ public:
|
||||
|
||||
virtual void DoState(PointerWrap &p)
|
||||
{
|
||||
auto s = p.Section("Thread", 1);
|
||||
auto s = p.Section("Thread", 1, 2);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
@@ -537,6 +537,12 @@ public:
|
||||
p.Do(pendingMipsCalls);
|
||||
p.Do(pushedStacks);
|
||||
p.Do(currentStack);
|
||||
|
||||
if (s >= 2)
|
||||
{
|
||||
p.Do(waitingThreads);
|
||||
p.Do(pausedWaits);
|
||||
}
|
||||
}
|
||||
|
||||
NativeThread nt;
|
||||
|
||||
Reference in new issue
Block a user