GS/TC: Don't update TBW on format swap if using page rearranging

This commit is contained in:
refractionpcsx2
2026-10-11 14:04:09 +01:00
parent c53b0c9c92
commit a1bf026a81
+2 -1
View File
@@ -3157,7 +3157,8 @@ GSTextureCache::Target* GSTextureCache::ProcessTargetAfterLookup(RescaleHelper&
if (!is_shuffle || (is_shuffle && GSLocalMemory::m_psm[dst->m_TEX0.PSM].bpp == 16))
{
dst->m_TEX0.PSM = TEX0.PSM;
dst->m_TEX0.TBW = TEX0.TBW;
if (!GSConfig.UserHacks_TargetPageRearranging)
dst->m_TEX0.TBW = TEX0.TBW;
}
}
// LEGO Dome Racers does a copy to a target as 8bit in alpha only, this doesn't really work great for us, so let's make it 32bit with invalid RGB.