mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-13 20:22:38 +00:00
Retain threadend waits in savestates.
Oops, been broken since 3fb2c8f654
.
This commit is contained in:
parent
5490ed441a
commit
f716d781b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user