gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

C/C++ > c:\devkitPro\libgba\include\gba_sound.h: incorrect line

#62800 - keldon - Mon Dec 05, 2005 9:22 pm

in gba_sound.h we have:
Code:
#define   REG_SOUNDCNT_L   (*((u16 volatile *) REG_BASE + 0x080))

which should be:
Code:
#define   REG_SOUNDCNT_L   (*((u16 volatile *) (REG_BASE + 0x080)))