From 474e09c239825a2c2e73f7167ecc82021012aaa5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 27 Aug 2021 11:19:21 -0400 Subject: [PATCH] Gekko: Convert UReg_DMAU over to using Common::BitField --- Source/Core/Core/PowerPC/Gekko.h | 8 +++----- 1 file 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;