GBA Audio: Fix last audio commit, oops
Jeffrey Pfau jeffrey@endrift.com
Tue, 27 Oct 2015 20:02:27 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/audio.c
→
src/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;