Savestate cleanup + be more careful with vectors.

For some reason I debugged it going into std::string so I just made
them all more explicit which fixed everything.
This commit is contained in:
Unknown W. Brackets 2012-12-28 13:01:46 -08:00
parent 644e6b615c
commit bcecd881b1
11 changed files with 22 additions and 13 deletions

View file

@ -431,7 +431,6 @@ public:
for (size_t i = 0; i < THREAD_CALLBACK_NUM_TYPES; ++i)
{
std::set<SceUID>::iterator it, end;
p.Do(registeredCallbacks[i]);
p.Do(readyCallbacks[i]);
}
@ -615,7 +614,8 @@ void __KernelThreadingDoState(PointerWrap &p)
p.Do(intReturnHackAddr);
p.Do(currentThread);
p.Do(threadqueue);
SceUID dv = 0;
p.Do(threadqueue, dv);
p.DoArray(threadIdleID, ARRAY_SIZE(threadIdleID));
p.Do(dispatchEnabled);
p.Do(curModule);