Retain threadend waits in savestates.

Oops, been broken since 3fb2c8f654.
This commit is contained in:
Unknown W. Brackets 2013-11-02 17:40:23 -07:00
parent 5490ed441a
commit f716d781b6

View File

@ -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;