Add an invalidate all method to the jit.

This commit is contained in:
Unknown W. Brackets 2014-06-19 01:08:45 -07:00
parent 561d0e5ef9
commit 9efbc2694b
11 changed files with 30 additions and 16 deletions

View file

@ -298,7 +298,7 @@ void CtrlDisAsmView::assembleOpcode(u32 address, std::string defaultText)
Memory::Write_U32(encoded, address);
// In case this is a delay slot or combined instruction, clear cache above it too.
if (MIPSComp::jit)
MIPSComp::jit->ClearCacheAt(address - 4, 8);
MIPSComp::jit->InvalidateCacheAt(address - 4, 8);
scanFunctions();
if (address == curAddress)