mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 10:13:43 +01:00
Add an invalidate all method to the jit.
This commit is contained in:
1 parent
561d0e5ef9
commit
9efbc2694b
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