Gekko: Convert UReg_DMAL over to using Common::BitField

This commit is contained in:
Lioncash 2021-08-27 11:20:37 -04:00
parent 474e09c239
commit 1e4ecfe3d4
1 changed files with 6 additions and 8 deletions

View File

@ -678,14 +678,12 @@ union UReg_DMAU
// Direct Memory Access Lower (DMAL) register // Direct Memory Access Lower (DMAL) register
union UReg_DMAL union UReg_DMAL
{ {
struct BitField<0, 1, u32> DMA_F;
{ BitField<1, 1, u32> DMA_T;
u32 DMA_F : 1; BitField<2, 2, u32> DMA_LEN_L;
u32 DMA_T : 1; BitField<4, 1, u32> DMA_LD;
u32 DMA_LEN_L : 2; BitField<5, 27, u32> LC_ADDR;
u32 DMA_LD : 1;
u32 LC_ADDR : 27;
};
u32 Hex = 0; u32 Hex = 0;
UReg_DMAL() = default; UReg_DMAL() = default;