GS/TC: Used unwrapped end blocks for combine

This commit is contained in:
refractionpcsx2 2025-05-13 21:28:42 +01:00 committed by lightningterror
parent 814b0d5873
commit a3305ff791

View File

@ -2096,7 +2096,7 @@ void GSTextureCache::CombineAlignedInsideTargets(Target* target, GSTextureCache:
if (t != target) if (t != target)
{ {
// Target not contained, skip it. // Target not contained, skip it.
if (t->m_TEX0.TBP0 < target->m_TEX0.TBP0 || t->m_end_block > target->m_end_block) if (t->m_TEX0.TBP0 < target->m_TEX0.TBP0 || t->UnwrappedEndBlock() > target->UnwrappedEndBlock())
{ {
i++; i++;
continue; continue;