mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 21:46:23 +02:00
Retain threadend waits in savestates.
Oops, been broken since 3fb2c8f654.
This commit is contained in:
1 parent
5490ed441a
commit
f716d781b6
1 file changed
+7
-1
@@ -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