From 2c3b78e79ad5b91598170f02c57ec6fd6759a05e Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 5 Apr 2017 04:21:45 -0500 Subject: [PATCH] Correct 4th background position registers. --- src/core/gba/registers.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/gba/registers.hpp b/src/core/gba/registers.hpp index bd089048..f3ef3585 100644 --- a/src/core/gba/registers.hpp +++ b/src/core/gba/registers.hpp @@ -23,12 +23,12 @@ #define REG_BG0HOFS *((volatile unsigned int*) 0x04000010) #define REG_BG1HOFS *((volatile unsigned int*) 0x04000014) #define REG_BG2HOFS *((volatile unsigned int*) 0x04000018) -#define REG_BG3HOFS *((volatile unsigned int*) 0x0400001a) +#define REG_BG3HOFS *((volatile unsigned int*) 0x0400001c) // vertical scrolling registers #define REG_BG0VOFS *((volatile unsigned int*) 0x04000012) #define REG_BG1VOFS *((volatile unsigned int*) 0x04000016) #define REG_BG2VOFS *((volatile unsigned int*) 0x0400001a) -#define REG_BG3VOFS *((volatile unsigned int*) 0x0400001c) +#define REG_BG3VOFS *((volatile unsigned int*) 0x0400001e) #endif