all repos — mgba @ d5b352a6962afeb54b1229402c28c1b5425dfa7f

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

d5b352a6962afeb54b1229402c28c1b5425dfa7f

parent

61c2f6a07b901a1ec793d2e683b09ce029019e56

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;