mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-22 20:45:11 +00:00
MinMod: use loop end instead of sample end
This commit is contained in:
parent
59a25fad70
commit
90859be901
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ void DivPlatformGBAMinMod::tick(bool sysTick) {
|
|||
size_t maxPos=getSampleMemCapacity();
|
||||
start=sampleOff[chan[i].sample];
|
||||
if (s->isLoopable()) {
|
||||
end=MIN(start+MAX(s->length8,1),maxPos);
|
||||
end=MIN(start+MAX(s->loopEnd,1),maxPos);
|
||||
loop=start+s->loopStart;
|
||||
} else {
|
||||
end=MIN(start+s->length8+16,maxPos);
|
||||
|
|
Loading…
Reference in a new issue