diff options
author | Made <made111@gmx.de> | 2020-05-15 06:46:25 +0200 |
---|---|---|
committer | Made <made111@gmx.de> | 2020-05-15 06:46:25 +0200 |
commit | 929c523340dfecbd0e3313e25d36abe47e1cc63e (patch) | |
tree | d91b5e742fa8c4903ae7be095085599f1d4640ce /arm9/lib/src/GX_state.c | |
parent | f34db9ec15de8a39989afc722286844ac5fe252b (diff) |
Replace register access macros with variables
Diffstat (limited to 'arm9/lib/src/GX_state.c')
-rw-r--r-- | arm9/lib/src/GX_state.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arm9/lib/src/GX_state.c b/arm9/lib/src/GX_state.c index 79a53ee7..7da3e1b4 100644 --- a/arm9/lib/src/GX_state.c +++ b/arm9/lib/src/GX_state.c @@ -18,9 +18,9 @@ ARM_FUNC void GX_InitGXState(){ UNK_021D33C4.var14 = 0x0; UNK_021D33C4.var16 = 0x0; UNK_021D33C4.var18 = 0x0; - SETREG32(HW_REG_VRAMCNT_A, 0x0); - SETREG8(HW_REG_VRAMCNT_E, 0x0); - SETREG8(HW_REG_VRAMCNT_F, 0x0); - SETREG8(HW_REG_VRAMCNT_G, 0x0); - SETREG16(HW_REG_VRAMCNT_H, 0x0); + reg_GX_VRAMCNT = 0x0; + reg_GX_VRAMCNT_E = 0x0; + reg_GX_VRAMCNT_F = 0x0; + reg_GX_VRAMCNT_G = 0x0; + reg_GX_VRAM_HI_CNT = 0x0; } |