Missing parenthesis on register address equates
Posted: Tue May 26, 2009 2:43 pm
I was just noticing that gba_timers.h formats them like this:
when it should be like this:
Code: Select all
#define REG_TM0CNT *(vu32*)(REG_BASE + 0x100)
Code: Select all
#define REG_TM0CNT (*(vu32*)(REG_BASE + 0x100))