GS/HW: Fix incorrect alpha valid check in LookupTarget()

Regression from #10254.
This commit is contained in:
Connor McLaughlin 2023-11-10 17:27:56 +10:00 committed by GitHub
parent 68f7df6a52
commit 09d15c4bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1920,7 +1920,7 @@ GSTextureCache::Target* GSTextureCache::LookupTarget(GIFRegTEX0 TEX0, const GSVe
dst_match = t; dst_match = t;
break; break;
} }
else if (t->m_age == 1 && (preserve_rgb || (preserve_alpha && (dst_match->m_valid_alpha_low || dst_match->m_valid_alpha_high)))) else if (t->m_age == 1 && (preserve_rgb || (preserve_alpha && (t->m_valid_alpha_low || t->m_valid_alpha_high))))
{ {
dst_match = t; dst_match = t;
} }