Make functions static in gba_memory.c