Gekko: Convert UReg_THRM3 over to using Common::BitField

This commit is contained in:
Lioncash 2021-08-27 11:26:49 -04:00
parent 11e76e1f67
commit e4e1b6064d
1 changed files with 4 additions and 6 deletions

View File

@ -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;