Closed tromero closed 2 years ago
I'm seeing issues because BG_COLORS
isn't maked as volatile either. This fixes it for me:
#undef BG_COLORS
#define BG_COLORS ((volatile uint16_t *)0x05000000)
All of these issues have been fixed by #14 in commit fc95d49d97fc7cec31a023e20c13a7446db3a059
gba_video.h
These registers should be volatile.