mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-03 17:57:26 +00:00
Fix sample cutoff with looping
This commit is contained in:
parent
523e08ed5c
commit
0e072b62b3
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ void DivPlatformK053260::renderSamples(int sysID) {
|
|||
continue;
|
||||
}
|
||||
|
||||
int length=MIN(65535,s->getLoopEndPosition(DIV_SAMPLE_DEPTH_8BIT));
|
||||
int length=MIN(65535,s->getEndPosition(DIV_SAMPLE_DEPTH_8BIT));
|
||||
int actualLength=MIN((int)(getSampleMemCapacity()-memPos),length);
|
||||
if (actualLength>0) {
|
||||
sampleOffK053260[i]=memPos-1;
|
||||
|
|
Loading…
Reference in a new issue