Add an invalidate all method to the jit.

This commit is contained in:
Unknown W. Brackets authored and greenbagels committed 2014-06-29 16:33:45 -04:00
1 parent d7f77dee72
commit da212fb33e
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;
}