From 0a9fd93eda4bba67866cd2292af229ffaa44ad21 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 25 Dec 2013 18:26:29 -0600 Subject: [PATCH] On block unlinking, wipe the address from the valid links. --- Source/Core/Core/PowerPC/JitCommon/JitCache.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp index 0dd0c63d8b..f9171d927e 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp @@ -313,6 +313,7 @@ using namespace Gen; e.linkStatus = false; } } + links_to.erase(b.originalAddress); } void JitBaseBlockCache::DestroyBlock(int block_num, bool invalidate)