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
union UReg_DMAL
{
struct
{
u32 DMA_F : 1;
u32 DMA_T : 1;
u32 DMA_LEN_L : 2;
u32 DMA_LD : 1;
u32 LC_ADDR : 27;
};
BitField<0, 1, u32> DMA_F;
BitField<1, 1, u32> DMA_T;
BitField<2, 2, u32> DMA_LEN_L;
BitField<4, 1, u32> DMA_LD;
BitField<5, 27, u32> LC_ADDR;
u32 Hex = 0;
UReg_DMAL() = default;