mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Disable clearing all the GPU's cache on sceKernelCacheWritebackAll, the performance penalty was too big.
This commit is contained in:
@@ -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