mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
jit: Ignore zero byte icache invalidates.
These were getting marked pending and were clearing all cache, causing performance concerns in for example LittleBigPlanet.
This commit is contained in:
1 parent
cbe31af8cf
commit
c4bf2cb5c0
5 files changed
+18
-14
No files matched your search
@@ -392,7 +392,8 @@ int sceKernelDcacheInvalidateRange(u32 addr, int size)
|
||||
|
||||
int sceKernelIcacheInvalidateRange(u32 addr, int size) {
|
||||
DEBUG_LOG(CPU, "sceKernelIcacheInvalidateRange(%08x, %i)", addr, size);
|
||||
currentMIPS->InvalidateICache(addr, size);
|
||||
if (size != 0)
|
||||
currentMIPS->InvalidateICache(addr, size);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user