Correct 4th background position registers.

This commit is contained in:
Gary Talent 2017-04-05 04:21:45 -05:00
parent bfc2fcd055
commit 2c3b78e79a

View File

@ -23,12 +23,12 @@
#define REG_BG0HOFS *((volatile unsigned int*) 0x04000010) #define REG_BG0HOFS *((volatile unsigned int*) 0x04000010)
#define REG_BG1HOFS *((volatile unsigned int*) 0x04000014) #define REG_BG1HOFS *((volatile unsigned int*) 0x04000014)
#define REG_BG2HOFS *((volatile unsigned int*) 0x04000018) #define REG_BG2HOFS *((volatile unsigned int*) 0x04000018)
#define REG_BG3HOFS *((volatile unsigned int*) 0x0400001a) #define REG_BG3HOFS *((volatile unsigned int*) 0x0400001c)
// vertical scrolling registers // vertical scrolling registers
#define REG_BG0VOFS *((volatile unsigned int*) 0x04000012) #define REG_BG0VOFS *((volatile unsigned int*) 0x04000012)
#define REG_BG1VOFS *((volatile unsigned int*) 0x04000016) #define REG_BG1VOFS *((volatile unsigned int*) 0x04000016)
#define REG_BG2VOFS *((volatile unsigned int*) 0x0400001a) #define REG_BG2VOFS *((volatile unsigned int*) 0x0400001a)
#define REG_BG3VOFS *((volatile unsigned int*) 0x0400001c) #define REG_BG3VOFS *((volatile unsigned int*) 0x0400001e)
#endif #endif