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++; }