mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Gekko: Convert UReg_THRM12 over to using Common::BitField
This commit is contained in:
parent
12b87922fb
commit
11e76e1f67
@ -720,16 +720,14 @@ union UReg_BAT_Lo
|
|||||||
|
|
||||||
union UReg_THRM12
|
union UReg_THRM12
|
||||||
{
|
{
|
||||||
struct
|
BitField<0, 1, u32> V; // Valid
|
||||||
{
|
BitField<1, 1, u32> TIE; // Thermal Interrupt Enable
|
||||||
u32 V : 1; // Valid
|
BitField<2, 1, u32> TID; // Thermal Interrupt Direction
|
||||||
u32 TIE : 1; // Thermal Interrupt Enable
|
BitField<3, 20, u32> reserved;
|
||||||
u32 TID : 1; // Thermal Interrupt Direction
|
BitField<23, 7, u32> THRESHOLD; // Temperature Threshold, 0-127°C
|
||||||
u32 : 20;
|
BitField<30, 1, u32> TIV; // Thermal Interrupt Valid
|
||||||
u32 THRESHOLD : 7; // Temperature Threshold, 0-127°C
|
BitField<31, 1, u32> TIN; // Thermal Interrupt
|
||||||
u32 TIV : 1; // Thermal Interrupt Valid
|
|
||||||
u32 TIN : 1; // Thermal Interrupt
|
|
||||||
};
|
|
||||||
u32 Hex = 0;
|
u32 Hex = 0;
|
||||||
|
|
||||||
UReg_THRM12() = default;
|
UReg_THRM12() = default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user