From 819ebfb213fad60386965c77dbe0cb8d46b103a0 Mon Sep 17 00:00:00 2001 From: degasus Date: Mon, 23 Jan 2017 06:58:02 +0100 Subject: [PATCH] JitCache: Freeing hotfix. Sorry, I'm too stupid to test my code. --- Source/Core/Core/PowerPC/JitCommon/JitCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp index f5853ee071..c2ac9fd07a 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp @@ -117,7 +117,7 @@ void JitBaseBlockCache::FreeBlock(JitBlock* block) while (iter.first != iter.second) { if (&iter.first->second == block) - start_block_map.erase(iter.first); + iter.first = start_block_map.erase(iter.first); else iter.first++; }