From 44fe6f6d393ce638471a497f9a0e299554b87197 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 27 Nov 2021 16:39:48 +0300 Subject: [PATCH] rsx: Fix sloppy format matching test --- rpcs3/Emu/RSX/Common/texture_cache_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Common/texture_cache_utils.h b/rpcs3/Emu/RSX/Common/texture_cache_utils.h index 37023a8773..7543432c69 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache_utils.h +++ b/rpcs3/Emu/RSX/Common/texture_cache_utils.h @@ -1767,7 +1767,7 @@ namespace rsx if (!valid_range()) return false; - if ((gcm_format & format) != format) + if (format && gcm_format != format) return false; if (!width && !height && !depth && !mipmaps)