mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 08:20:30 +02:00
Disable clearing all the GPU's cache on sceKernelCacheWritebackAll, the performance penalty was too big.
This commit is contained in:
1 parent
6717359270
commit
d657fc9fa2
1 file changed
+3
-1
@@ -246,7 +246,9 @@ int sceKernelDcacheInvalidateRange(u32 addr, int size)
|
||||
}
|
||||
int sceKernelDcacheWritebackAll()
|
||||
{
|
||||
gpu->InvalidateCache(0, -1);
|
||||
// Some games seem to use this a lot, it doesn't make sense
|
||||
// to zap the whole texture cache.
|
||||
// gpu->InvalidateCache(0, -1);
|
||||
return 0;
|
||||
}
|
||||
int sceKernelDcacheWritebackRange(u32 addr, int size)
|
||||
|
||||
Reference in new issue
Block a user