summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-08-27 11:19:21 -0400
committerLioncash <mathew1800@gmail.com>2021-08-27 11:19:21 -0400
commit474e09c239825a2c2e73f7167ecc82021012aaa5 (patch)
treefcc45a9108dab483973e461c6ac2eb2249a8e9ac /Source/Core
parenta126821d5ef6120f7a99c427a8a042a7a27bba6d (diff)
Gekko: Convert UReg_DMAU over to using Common::BitField
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/Gekko.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/Core/Core/PowerPC/Gekko.h b/Source/Core/Core/PowerPC/Gekko.h
index b8a871b781..4c077ae5ed 100644
--- a/Source/Core/Core/PowerPC/Gekko.h
+++ b/Source/Core/Core/PowerPC/Gekko.h
@@ -666,11 +666,9 @@ union UReg_WPAR
// Direct Memory Access Upper register
union UReg_DMAU
{
- struct
- {
- u32 DMA_LEN_U : 5;
- u32 MEM_ADDR : 27;
- };
+ BitField<0, 5, u32> DMA_LEN_U;
+ BitField<5, 27, u32> MEM_ADDR;
+
u32 Hex = 0;
UReg_DMAU() = default;