Merge pull request #5554 from hilesaz/master

Implemented sceKernelICacheInvalidateRange
This commit is contained in:
Henrik Rydgård 2014-02-24 17:58:53 +07:00
commit afdaaf3170

View File

@ -351,6 +351,9 @@ 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);
}
return 0;
}