mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-09 15:49:35 +01:00
Add an invalidate all method to the jit.
This commit is contained in:
1 parent
d7f77dee72
commit
da212fb33e
11 files changed
+30
-16
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user