all repos — mgba @ c2a7103d88e362b6330006e563d2520dd01ceead

mGBA Game Boy Advance Emulator

GBA Audio: Fix Wii build
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Feb 2016 10:15:44 -0800
commit

c2a7103d88e362b6330006e563d2520dd01ceead

parent

e290e458b0abddfedeb9007a1d329e8d7b5edfe5

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gba/audio.csrc/gba/audio.c

@@ -26,7 +26,7 @@ void GBAAudioInit(struct GBAAudio* audio, size_t samples) {

audio->psg.p = NULL; uint8_t* nr52 = (uint8_t*) &audio->p->memory.io[REG_SOUNDCNT_X >> 1]; #ifdef __BIG_ENDIAN__ - ++n52; + ++nr52; #endif GBAudioInit(&audio->psg, 0, nr52, GB_AUDIO_GBA); audio->samples = samples;