diff --git a/src/engine/platform/snes.cpp b/src/engine/platform/snes.cpp index fb278f2a0..8be1692e2 100644 --- a/src/engine/platform/snes.cpp +++ b/src/engine/platform/snes.cpp @@ -783,6 +783,10 @@ void DivPlatformSNES::renderSamples() { if (actualLength>0) { sampleOff[i]=memPos; memcpy(©OfSampleMem[memPos],s->dataBRR,actualLength); + // inject loop if needed + if (s->loop) { + copyOfSampleMem[memPos+actualLength-9]|=3; + } memPos+=actualLength; } if (actualLength