From 252ef6bb3432a4fef363acf41c2d36b0899f8ec9 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Wed, 10 Mar 2021 21:14:58 -0800 Subject: [PATCH] Use bool bitfields in VAT --- Source/Core/VideoCommon/CPMemory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/VideoCommon/CPMemory.h b/Source/Core/VideoCommon/CPMemory.h index 5c50d30a85..931cb587e5 100644 --- a/Source/Core/VideoCommon/CPMemory.h +++ b/Source/Core/VideoCommon/CPMemory.h @@ -319,8 +319,8 @@ union UVAT_group0 BitField<22, 3, ComponentFormat> Tex0CoordFormat; BitField<25, 5, u32> Tex0Frac; // 30:31 - BitField<30, 1, u32> ByteDequant; - BitField<31, 1, u32> NormalIndex3; + BitField<30, 1, bool, u32> ByteDequant; + BitField<31, 1, bool, u32> NormalIndex3; }; template <> struct fmt::formatter @@ -376,7 +376,7 @@ union UVAT_group1 BitField<27, 1, TexComponentCount> Tex4CoordElements; BitField<28, 3, ComponentFormat> Tex4CoordFormat; // 31 - BitField<31, 1, u32> VCacheEnhance; + BitField<31, 1, bool, u32> VCacheEnhance; }; template <> struct fmt::formatter