From 93f46c142c4c64f2e260f9340824367fa0daed53 Mon Sep 17 00:00:00 2001 From: Albert Liu <45282415+ggrtk@users.noreply.github.com> Date: Sun, 6 Dec 2020 19:53:04 -0800 Subject: [PATCH] GPU: Fix GPUTexturePaletteReg y BitField width --- src/core/gpu_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gpu_types.h b/src/core/gpu_types.h index 4f713b1c9..021f0d5bb 100644 --- a/src/core/gpu_types.h +++ b/src/core/gpu_types.h @@ -195,7 +195,7 @@ union GPUTexturePaletteReg u16 bits; BitField x; - BitField y; + BitField y; ALWAYS_INLINE u32 GetXBase() const { return static_cast(x) * 16u; } ALWAYS_INLINE u32 GetYBase() const { return static_cast(y); }