diff --git a/src/engine/platform/amiga.cpp b/src/engine/platform/amiga.cpp index 104e66d45..6d015db48 100644 --- a/src/engine/platform/amiga.cpp +++ b/src/engine/platform/amiga.cpp @@ -108,7 +108,9 @@ void DivPlatformAmiga::acquire(short* bufL, short* bufR, size_t start, size_t le } else { DivSample* s=parent->getSample(chan[i].sample); if (s->samples>0) { - writeAudDat(s->data8[chan[i].audPos++]); + if (chan[i].audPossamples) { + writeAudDat(s->data8[chan[i].audPos++]); + } if (chan[i].audPos>=s->samples || chan[i].audPos>=131071) { if (s->loopStart>=0 && s->loopStart<(int)s->samples) { chan[i].audPos=s->loopStart;