From 8ac2949a1f4c5d42c331faef290655ac2bd85bc0 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 17 Feb 2023 01:59:01 +1000 Subject: [PATCH] GS/HW: Fix incorrect bitfield width in height cache This lead to duplication and possibly larger-than-intended heights. --- pcsx2/GS/Renderers/HW/GSTextureCache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/GS/Renderers/HW/GSTextureCache.h b/pcsx2/GS/Renderers/HW/GSTextureCache.h index a5f4a251e4..06bebb6352 100644 --- a/pcsx2/GS/Renderers/HW/GSTextureCache.h +++ b/pcsx2/GS/Renderers/HW/GSTextureCache.h @@ -305,10 +305,10 @@ public: struct { - u32 fbp : 9; + u32 fbp : 14; u32 fbw : 6; u32 psm : 6; - u32 pad : 11; + u32 pad : 6; }; };