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;
|
ch->lastEvent = now;
|
||||||
now -= last;
|
now -= last;
|
||||||
last = 0;
|
last = 0;
|
||||||
// TODO: Make batching work when descheduled
|
if (audio->sampleInterval > next) {
|
||||||
next = audio->sampleInterval;
|
// TODO: Make batching work when descheduled
|
||||||
|
next = audio->sampleInterval;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (; last < now; last += cycles) {
|
for (; last < now; last += cycles) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user