GS: Update target TEX0 on a move if buffer width is increased.

Co-authored-by: refractionpcsx2
This commit is contained in:
TJnotJT
2026-06-24 17:31:43 -04:00
committed by lightningterror
parent 9650c4b79a
commit a6b1040caf
+2 -1
View File
@@ -5296,7 +5296,8 @@ bool GSTextureCache::Move(u32 SBP, u32 SBW, u32 SPSM, int sx, int sy, u32 DBP, u
req_resize = true;
// If it was matched to an old target, make sure to clear the other type and update its information.
if (dst->m_was_dst_matched)
// Also update information if the buffer width of the new data is larger than the existing target.
if (dst->m_was_dst_matched || (Common::AlignUpPow2(w, 64) / GSLocalMemory::m_psm[new_TEX0.PSM].pgs.x) > dst->m_TEX0.TBW)
{
dst->m_TEX0 = new_TEX0;
}