Add an invalidate all method to the jit.

This commit is contained in:
Unknown W. Brackets committed 2014-06-19 01:13:06 -07:00
1 parent 561d0e5ef9
commit 9efbc2694b
11 files changed
+30 -16

No files matched your search

+2 -5
View File
@@ -364,11 +364,8 @@ int sceKernelDcacheInvalidateRange(u32 addr, int size)
}
int sceKernelIcacheInvalidateRange(u32 addr, int size) {
DEBUG_LOG(CPU,"sceKernelIcacheInvalidateRange(%08x, %i)", addr, size);
// TODO: Make the JIT hash and compare the touched blocks.
if(MIPSComp::jit){
MIPSComp::jit->ClearCacheAt(addr, size);
}
DEBUG_LOG(CPU, "sceKernelIcacheInvalidateRange(%08x, %i)", addr, size);
currentMIPS->InvalidateICache(addr, size);
return 0;
}