mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +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
@@ -624,7 +624,8 @@ static u32 sceKernelMemcpy(u32 dst, u32 src, u32 size)
|
||||
DEBUG_LOG(SCEKERNEL, "sceKernelMemcpy(dest=%08x, src=%08x, size=%i)", dst, src, size);
|
||||
|
||||
// Some games copy from executable code. We need to flush emuhack ops.
|
||||
currentMIPS->InvalidateICache(src, size);
|
||||
if (size != 0)
|
||||
currentMIPS->InvalidateICache(src, size);
|
||||
|
||||
bool skip = false;
|
||||
if (Memory::IsVRAMAddress(src) || Memory::IsVRAMAddress(dst)) {
|
||||
|
||||
Reference in new issue
Block a user