Only sync shader caches to disk on stop.

This commit is contained in:
NeoBrainX
2011-09-29 23:16:42 +02:00
parent 0e1383b788
commit 7eb06430ed
4 changed files with 0 additions and 4 deletions

View File

@ -502,7 +502,6 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components)
// Insert the bytecode into the caches
g_ps_disk_cache.Append(uid, pbytecode->Data(), pbytecode->Size());
g_ps_disk_cache.Sync();
bool success = InsertByteCode(uid, pbytecode->Data(), pbytecode->Size());
pbytecode->Release();