mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
b9bc5b5c60
commit
0a07762f6b
|
@ -210,7 +210,7 @@ GSTextureCache::Source* GSTextureCache::LookupSource(const GIFRegTEX0& TEX0, con
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} 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,
|
src->m_texture ? src->m_texture->GetID() : 0,
|
||||||
TEX0.TBP0, TEX0.PSM);
|
TEX0.TBP0, TEX0.PSM);
|
||||||
}
|
}
|
||||||
|
@ -840,7 +840,8 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
src->m_32_bits_fmt = dst->m_32_bits_fmt;
|
if (TEX0.PSM < PSM_PSMT8 || TEX0.PSM > PSM_PSMT4HH)
|
||||||
|
src->m_32_bits_fmt = dst->m_32_bits_fmt;
|
||||||
src->m_target = true;
|
src->m_target = true;
|
||||||
|
|
||||||
dst->Update();
|
dst->Update();
|
||||||
|
|
Loading…
Reference in New Issue