Page 1 of 1

Missing parenthesis on register address equates

Posted: Tue May 26, 2009 2:43 pm
by Dwedit
I was just noticing that gba_timers.h formats them like this:

Code: Select all

#define REG_TM0CNT		*(vu32*)(REG_BASE + 0x100)
when it should be like this:

Code: Select all

#define REG_TM0CNT		(*(vu32*)(REG_BASE + 0x100))