mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 04:56:24 +02:00
Merge pull request #5328 from lioncash/fix-proxy-block-destruction
Fix the destruction proxy blocks in DestroyBlock() in JitBlockCache.cpp.
This commit is contained in:
commit
edfd77dd67
1 file changed
+1
-1
@@ -436,7 +436,7 @@ void JitBlockCache::DestroyBlock(int block_num, bool invalidate) {
|
||||
// this block or its 'parent', so now that this block has changed, the root block must be destroyed.
|
||||
for (size_t i = 0; i < b->proxyFor.size(); i++) {
|
||||
int proxied_blocknum = GetBlockNumberFromStartAddress(b->proxyFor[i], false);
|
||||
DestroyBlock(block_num, invalidate);
|
||||
DestroyBlock(proxied_blocknum, invalidate);
|
||||
}
|
||||
b->proxyFor.clear();
|
||||
// TODO: Remove from proxyBlockIndices_.
|
||||
|
||||
Reference in new issue
Block a user