all repos — mgba @ 8bdd817238ec1bf82b1f922bcd6053030f937422

mGBA Game Boy Advance Emulator

GBA Audio: Fix last audio commit, oops
Jeffrey Pfau jeffrey@endrift.com
Tue, 27 Oct 2015 20:02:27 -0700
commit

8bdd817238ec1bf82b1f922bcd6053030f937422

parent

04e40ff45933a47c055ae1799f1539c5e8f9a109

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

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

@@ -288,7 +288,7 @@ audio->p->memory.io[REG_SOUNDCNT_X >> 1] &= ~0x000F;

audio->p->memory.io[REG_SOUNDCNT_X >> 1] |= audio->playingCh1; audio->p->memory.io[REG_SOUNDCNT_X >> 1] |= audio->playingCh2 << 1; audio->p->memory.io[REG_SOUNDCNT_X >> 1] |= audio->playingCh3 << 2; - audio->p->memory.io[REG_SOUNDCNT_X >> 1] |= audio->playingCh4 << 2; + audio->p->memory.io[REG_SOUNDCNT_X >> 1] |= audio->playingCh4 << 3; } audio->nextSample -= audio->eventDiff;