summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-12-25 18:26:29 -0600
committerRyan Houdek <ryan.houdek@codethink.co.uk>2014-02-15 20:23:01 -0600
commit0a9fd93eda4bba67866cd2292af229ffaa44ad21 (patch)
tree64241a2b558bda0ed1f4e39c9956e96b7a058758 /Source/Core
parentd2a90e6eabb8213cf7ecc502895952f59cdba861 (diff)
On block unlinking, wipe the address from the valid links.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/JitCommon/JitCache.cpp1
1 files changed, 1 insertions, 0 deletions
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)