mirror of https://github.com/mgba-emu/mgba.git
GBA Audio: Only increase channel 4 interval
This commit is contained in:
parent
ad870aa26b
commit
3552750768
|
@ -944,8 +944,10 @@ static void _updateChannel4(struct mTiming* timing, void* user, uint32_t cyclesL
|
|||
ch->lastEvent = now;
|
||||
now -= last;
|
||||
last = 0;
|
||||
// TODO: Make batching work when descheduled
|
||||
next = audio->sampleInterval;
|
||||
if (audio->sampleInterval > next) {
|
||||
// TODO: Make batching work when descheduled
|
||||
next = audio->sampleInterval;
|
||||
}
|
||||
}
|
||||
|
||||
for (; last < now; last += cycles) {
|
||||
|
|
Loading…
Reference in New Issue