diff options
-rw-r--r-- | sound/mods/paula.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mods/paula.cpp b/sound/mods/paula.cpp index d09ddbe76d..cfd9ebff11 100644 --- a/sound/mods/paula.cpp +++ b/sound/mods/paula.cpp @@ -155,7 +155,7 @@ int Paula::readBufferIntern(int16 *buffer, const int numSamples) { // Repeat as long as necessary. while (neededSamples > 0) { - offset %= sLen; + offset = 0; // Compute the number of samples to generate (see above) and mix 'em. end = MIN(neededSamples, (int)((sLen - offset + rate - 1) / rate)); |