mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02:00
Fix some issues in sceNetAdhoc with old savestates.
This was causing the PPGe dlist to be shared with the thread, causing weirdness and a double-free on exit.
This commit is contained in:
1 parent
de525f36d1
commit
afe52db366
3 files changed
+27
-8
No files matched your search
@@ -330,6 +330,11 @@ void BlockAllocator::CheckBlocks() const
|
||||
}
|
||||
}
|
||||
|
||||
const char *BlockAllocator::GetBlockTag(u32 addr) const {
|
||||
const Block *b = GetBlockFromAddress(addr);
|
||||
return b->tag;
|
||||
}
|
||||
|
||||
inline BlockAllocator::Block *BlockAllocator::GetBlockFromAddress(u32 addr)
|
||||
{
|
||||
for (Block *bp = bottom_; bp != NULL; bp = bp->next)
|
||||
|
||||
Reference in new issue
Block a user