Add an invalidate all method to the jit.

This commit is contained in:
Unknown W. Brackets
2014-06-29 16:33:45 -04:00
committed by greenbagels
parent d7f77dee72
commit da212fb33e
11 changed files with 30 additions and 16 deletions
+2 -2
View File
@@ -413,9 +413,9 @@ void CBreakPoints::Update(u32 addr)
// In case this is a delay slot, clear the previous instruction too.
if (addr != 0)
MIPSComp::jit->ClearCacheAt(addr - 4, 8);
MIPSComp::jit->InvalidateCacheAt(addr - 4, 8);
else
MIPSComp::jit->ClearCache();
MIPSComp::jit->InvalidateCache();
if (resume)
Core_EnableStepping(false);