[Scummvm-cvs-logs] SF.net SVN: scummvm: [27835] scummvm/trunk/sound/mods/paula.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Jul 1 21:59:42 CEST 2007
Revision: 27835
http://scummvm.svn.sourceforge.net/scummvm/?rev=27835&view=rev
Author: fingolfin
Date: 2007-07-01 12:59:42 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Fix looping effect (at least DrMcCoy says it fixes it somehow, and I trust him in that :)
Modified Paths:
--------------
scummvm/trunk/sound/mods/paula.cpp
Modified: scummvm/trunk/sound/mods/paula.cpp
===================================================================
--- scummvm/trunk/sound/mods/paula.cpp 2007-07-01 19:29:09 UTC (rev 27834)
+++ scummvm/trunk/sound/mods/paula.cpp 2007-07-01 19:59:42 UTC (rev 27835)
@@ -155,7 +155,7 @@
// 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));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list