diff --git a/src/engine/platform/k053260.cpp b/src/engine/platform/k053260.cpp index ec5f26cd5..396316d62 100644 --- a/src/engine/platform/k053260.cpp +++ b/src/engine/platform/k053260.cpp @@ -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;