GS/HW: Fix brackets in texture shuffle detection.

This commit is contained in:
TJnotJT
2026-04-30 02:03:44 +02:00
committed by lightningterror
parent 3091407e9e
commit 02d0f613ba
+1 -1
View File
@@ -834,7 +834,7 @@ void GSRendererHW::DetectTextureShuffleSecondPass(GSTextureCache::Target* rt, GS
// path helps to maintain correct sizes in the texture cache. Occurs in NFS Most Wanted.
if (PRIM->TME &&
(m_vt.m_primclass == GS_SPRITE_CLASS || m_vt.m_primclass == GS_TRIANGLE_CLASS && TrianglesAreQuads(true)) &&
((m_vt.m_primclass == GS_SPRITE_CLASS || m_vt.m_primclass == GS_TRIANGLE_CLASS) && TrianglesAreQuads(true)) &&
(tex_psm.bpp == 16) && (frame_psm.bpp == 16) && rt->m_32_bits_fmt && tex->m_32_bits_fmt)
{
GL_INS("HW: Texture shuffle detection (2): Passed (HACK: reinterpreting both source/RT as 16 bit).");