mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-04 22:49:46 +00:00
Retain threadend waits in savestates.
Oops, been broken since 3fb2c8f654cafe85e50586bb51d8a3c4c0e10674.
This commit is contained in:
parent
5490ed441a
commit
f716d781b6
@ -520,7 +520,7 @@ public:
|
|||||||
|
|
||||||
virtual void DoState(PointerWrap &p)
|
virtual void DoState(PointerWrap &p)
|
||||||
{
|
{
|
||||||
auto s = p.Section("Thread", 1);
|
auto s = p.Section("Thread", 1, 2);
|
||||||
if (!s)
|
if (!s)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -537,6 +537,12 @@ public:
|
|||||||
p.Do(pendingMipsCalls);
|
p.Do(pendingMipsCalls);
|
||||||
p.Do(pushedStacks);
|
p.Do(pushedStacks);
|
||||||
p.Do(currentStack);
|
p.Do(currentStack);
|
||||||
|
|
||||||
|
if (s >= 2)
|
||||||
|
{
|
||||||
|
p.Do(waitingThreads);
|
||||||
|
p.Do(pausedWaits);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NativeThread nt;
|
NativeThread nt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user