gsdx-tc: only track 32 bits fmt if the texture is not a palette fmt

Fix a regression on ricky ponting cricket (texture shuffle was triggered without any valid reason)
This commit is contained in:
Gregory Hainaut 2015-07-03 23:04:48 +02:00
parent b9bc5b5c60
commit 0a07762f6b
1 changed files with 3 additions and 2 deletions

View File

@ -210,7 +210,7 @@ GSTextureCache::Source* GSTextureCache::LookupSource(const GIFRegTEX0& TEX0, con
}
} else {
GL_CACHE("TC: src hit: %d (0x%x F:0x%x)",
GL_CACHE("TC: src hit: %d (0x%x, F:0x%x)",
src->m_texture ? src->m_texture->GetID() : 0,
TEX0.TBP0, TEX0.PSM);
}
@ -840,6 +840,7 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
}
#endif
if (TEX0.PSM < PSM_PSMT8 || TEX0.PSM > PSM_PSMT4HH)
src->m_32_bits_fmt = dst->m_32_bits_fmt;
src->m_target = true;