[Scummvm-cvs-logs] SF.net SVN: scummvm:[51709] scummvm/trunk/sound/softsynth/fmtowns_pc98/ towns_audio.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Tue Aug 3 21:06:28 CEST 2010


Revision: 51709
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51709&view=rev
Author:   athrxx
Date:     2010-08-03 19:06:27 +0000 (Tue, 03 Aug 2010)

Log Message:
-----------
FMTOWNS AUDIO: fix typo

Modified Paths:
--------------
    scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp

Modified: scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp	2010-08-03 18:19:25 UTC (rev 51708)
+++ scummvm/trunk/sound/softsynth/fmtowns_pc98/towns_audio.cpp	2010-08-03 19:06:27 UTC (rev 51709)
@@ -1303,7 +1303,7 @@
 	uint32 s = 0;
 
 	if (diff < 0) {
-		diff -= 1;
+		diff *= -1;
 		bl = diff % 12;
 		diff /= 12;
 		s = (r >> diff);


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