[Scummvm-cvs-logs] SF.net SVN: scummvm:[42276] scummvm/branches/gsoc2009-mods/sound/mods/ maxtrax.cpp

nolange at users.sourceforge.net nolange at users.sourceforge.net
Thu Jul 9 02:19:17 CEST 2009


Revision: 42276
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42276&view=rev
Author:   nolange
Date:     2009-07-09 00:19:17 +0000 (Thu, 09 Jul 2009)

Log Message:
-----------
fixed up some constants

Modified Paths:
--------------
    scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp

Modified: scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp
===================================================================
--- scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp	2009-07-09 00:19:00 UTC (rev 42275)
+++ scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp	2009-07-09 00:19:17 UTC (rev 42276)
@@ -235,8 +235,8 @@
 		voice.periodOffset = 0;
 		const int maxOctave = patch.sampleOctaves - 1;
 		while (tone > PREF_PERIOD && octave < maxOctave) {
-			tone -= 1 << 4;
-			voice.periodOffset += 1 <<4;
+			tone -= 1 << 16;
+			voice.periodOffset += 1 << 16;
 			octave++;
 		}
 		tone -= voice.periodOffset;


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