mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 20:04:31 +01:00
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:
1 parent
644e6b615c
commit
bcecd881b1
11 files changed
+22
-13
No files matched your search
@@ -155,12 +155,16 @@ struct MsgPipe : public KernelObject
|
||||
virtual void DoState(PointerWrap &p)
|
||||
{
|
||||
p.Do(nmp);
|
||||
p.Do(sendWaitingThreads);
|
||||
p.Do(receiveWaitingThreads);
|
||||
p.Do(sendWaitingThreads, MsgPipeWaitingThread());
|
||||
p.Do(receiveWaitingThreads, MsgPipeWaitingThread());
|
||||
bool hasBuffer = buffer != NULL;
|
||||
p.Do(hasBuffer);
|
||||
if (hasBuffer)
|
||||
{
|
||||
if (buffer == NULL)
|
||||
buffer = new u8[nmp.bufSize];
|
||||
p.DoArray(buffer, nmp.bufSize);
|
||||
}
|
||||
p.DoMarker("MsgPipe");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user