GBA Audio: Fix last audio commit, oops

This commit is contained in:
Jeffrey Pfau 2015-10-27 20:02:27 -07:00
parent 61c2f6a07b
commit d5b352a696
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ int32_t GBAAudioProcessEvents(struct GBAAudio* audio, int32_t cycles) {
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;