Disable clearing all the GPU's cache on sceKernelCacheWritebackAll, the performance penalty was too big.

This commit is contained in:
Henrik Rydgard 2013-01-02 13:50:52 +01:00
parent 6717359270
commit d657fc9fa2

View file

@ -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)