From e4e1b6064de9fec04c2ac3948305827a9c07f46c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 27 Aug 2021 11:26:49 -0400 Subject: [PATCH] Gekko: Convert UReg_THRM3 over to using Common::BitField --- Source/Core/Core/PowerPC/Gekko.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Source/Core/Core/PowerPC/Gekko.h b/Source/Core/Core/PowerPC/Gekko.h index ced0ebe3eb..eff0517090 100644 --- a/Source/Core/Core/PowerPC/Gekko.h +++ b/Source/Core/Core/PowerPC/Gekko.h @@ -736,12 +736,10 @@ union UReg_THRM12 union UReg_THRM3 { - struct - { - u32 E : 1; // Enable - u32 SITV : 13; // Sample Interval Timer Value - u32 : 18; - }; + BitField<0, 1, u32> E; // Enable + BitField<1, 13, u32> SITV; // Sample Interval Timer Value + BitField<14, 18, u32> reserved; + u32 Hex = 0; UReg_THRM3() = default;