GS-TC: Fix up expand targets when mixing 24 and 32bit.

This commit is contained in:
refractionpcsx2 2023-03-01 22:28:46 +00:00
parent 85a0e75e28
commit b161df69e1
1 changed files with 1 additions and 1 deletions

View File

@ -1164,7 +1164,7 @@ void GSTextureCache::ExpandTarget(const GIFRegBITBLTBUF& BITBLTBUF, const GSVect
{
Target* t = *i;
if (TEX0.TBP0 == t->m_TEX0.TBP0 && TEX0.PSM == t->m_TEX0.PSM && t->Overlaps(TEX0.TBP0, TEX0.TBW, TEX0.PSM, r))
if (TEX0.TBP0 == t->m_TEX0.TBP0 && GSLocalMemory::m_psm[TEX0.PSM].bpp == GSLocalMemory::m_psm[t->m_TEX0.PSM].bpp && t->Overlaps(TEX0.TBP0, TEX0.TBW, TEX0.PSM, r))
{
list.MoveFront(i.Index());