make use of sample loop flag
issue #1109 this MAY BREAK THINGS if any problems, REVERT THIS ONE
This commit is contained in:
parent
f55dbc7376
commit
0c0efaea50
5 changed files with 14 additions and 9 deletions
|
|
@ -222,7 +222,7 @@ void DivPlatformSNES::tick(bool sysTick) {
|
|||
if (chan[i].audPos>0) {
|
||||
start=start+MIN(chan[i].audPos,s->lengthBRR-1)/16*9;
|
||||
}
|
||||
if (s->loopStart>=0) {
|
||||
if (s->isLoopable()) {
|
||||
loop=((s->depth!=DIV_SAMPLE_DEPTH_BRR)?9:0)+start+((s->loopStart/16)*9);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue