Remove audio processing loop now that there is an event processing loop
Jeffrey Pfau jeffrey@endrift.com
Tue, 08 Jul 2014 22:00:53 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/gba-audio.c
→
src/gba/gba-audio.c
@@ -65,7 +65,7 @@
int32_t GBAAudioProcessEvents(struct GBAAudio* audio, int32_t cycles) { audio->nextEvent -= cycles; audio->eventDiff += cycles; - while (audio->nextEvent <= 0) { + if (audio->nextEvent <= 0) { audio->nextEvent = INT_MAX; if (audio->enable) { if (audio->playingCh1 && !audio->ch1.envelope.dead) {