Gekko: Convert UReg_MMCR1 over to using Common::BitField

This commit is contained in:
Lioncash 2021-08-27 11:16:41 -04:00
parent 300f7c10bd
commit 8ac079a647
1 changed files with 5 additions and 7 deletions

View File

@ -643,13 +643,11 @@ union UReg_MMCR0
// MMCR1 - Monitor Mode Control Register 1 format // MMCR1 - Monitor Mode Control Register 1 format
union UReg_MMCR1 union UReg_MMCR1
{ {
u32 Hex; BitField<0, 22, u32> reserved;
struct BitField<22, 5, u32> PMC4SELECT;
{ BitField<27, 5, u32> PMC3SELECT;
u32 : 22;
u32 PMC4SELECT : 5; u32 Hex = 0;
u32 PMC3SELECT : 5;
};
}; };
// Write Pipe Address Register // Write Pipe Address Register