Remove audio processing loop now that there is an event processing loop

This commit is contained in:
Jeffrey Pfau 2014-07-08 22:00:53 -07:00
parent 83e16d56c0
commit 548793e551
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ void GBAAudioDeinit(struct GBAAudio* audio) {
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) {