Add an invalidate all method to the jit.
This commit is contained in:
parent
561d0e5ef9
commit
9efbc2694b
11 changed files with 30 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue