From cf959a846774308cf5f8750188bf5ff856d5b4e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 11 Sep 2022 19:33:31 +0200 Subject: [PATCH] Remove CLUT matching case that shouldn't be there yet. --- GPU/Common/TextureCacheCommon.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GPU/Common/TextureCacheCommon.cpp b/GPU/Common/TextureCacheCommon.cpp index 94742aad19..ff8ff95098 100644 --- a/GPU/Common/TextureCacheCommon.cpp +++ b/GPU/Common/TextureCacheCommon.cpp @@ -952,8 +952,7 @@ bool TextureCacheCommon::MatchFramebuffer( (fb_format == GE_FORMAT_DEPTH16 && entry.format == GE_TFMT_CLUT16) || (fb_format == GE_FORMAT_DEPTH16 && entry.format == GE_TFMT_5650) || (fb_format == GE_FORMAT_8888 && entry.format == GE_TFMT_CLUT32) || - (fb_format != GE_FORMAT_8888 && entry.format == GE_TFMT_CLUT16) || - (fb_format == GE_FORMAT_8888 && entry.format == GE_TFMT_CLUT8); // Mixed byte size, format, reinterpret in depal! + (fb_format != GE_FORMAT_8888 && entry.format == GE_TFMT_CLUT16); const int texBitsPerPixel = std::max(1U, (u32)textureBitsPerPixel[entry.format]); const int byteOffset = texaddr - addr;