[Scummvm-cvs-logs] SF.net SVN: scummvm:[42905] scummvm/branches/branch-1-0-0/sound/softsynth/ mt32
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Jul 29 22:06:15 CEST 2009
Revision: 42905
http://scummvm.svn.sourceforge.net/scummvm/?rev=42905&view=rev
Author: lordhoto
Date: 2009-07-29 20:06:15 +0000 (Wed, 29 Jul 2009)
Log Message:
-----------
Backport of r42904: Fix typo, which made our "floorf" macro use "floorf" instead of "floor" on systems without "floorf".
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/sound/softsynth/mt32/partial.cpp
scummvm/branches/branch-1-0-0/sound/softsynth/mt32/synth.cpp
scummvm/branches/branch-1-0-0/sound/softsynth/mt32/tables.cpp
Modified: scummvm/branches/branch-1-0-0/sound/softsynth/mt32/partial.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/sound/softsynth/mt32/partial.cpp 2009-07-29 20:03:46 UTC (rev 42904)
+++ scummvm/branches/branch-1-0-0/sound/softsynth/mt32/partial.cpp 2009-07-29 20:06:15 UTC (rev 42905)
@@ -36,7 +36,7 @@
// Hence we re-define them here. The only potential drawback is that it
// might be a little bit slower this way.
#define powf(x,y) ((float)pow(x,y))
-#define floorf(x) ((float)floorf(x))
+#define floorf(x) ((float)floor(x))
#define fabsf(x) ((float)fabs(x))
#endif
Modified: scummvm/branches/branch-1-0-0/sound/softsynth/mt32/synth.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/sound/softsynth/mt32/synth.cpp 2009-07-29 20:03:46 UTC (rev 42904)
+++ scummvm/branches/branch-1-0-0/sound/softsynth/mt32/synth.cpp 2009-07-29 20:06:15 UTC (rev 42905)
@@ -36,7 +36,7 @@
// Hence we re-define them here. The only potential drawback is that it
// might be a little bit slower this way.
#define powf(x,y) ((float)pow(x,y))
-#define floorf(x) ((float)floorf(x))
+#define floorf(x) ((float)floor(x))
#define fabsf(x) ((float)fabs(x))
#endif
Modified: scummvm/branches/branch-1-0-0/sound/softsynth/mt32/tables.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/sound/softsynth/mt32/tables.cpp 2009-07-29 20:03:46 UTC (rev 42904)
+++ scummvm/branches/branch-1-0-0/sound/softsynth/mt32/tables.cpp 2009-07-29 20:06:15 UTC (rev 42905)
@@ -36,7 +36,7 @@
// Hence we re-define them here. The only potential drawback is that it
// might be a little bit slower this way.
#define powf(x,y) ((float)pow(x,y))
-#define floorf(x) ((float)floorf(x))
+#define floorf(x) ((float)floor(x))
#define fabsf(x) ((float)fabs(x))
#endif
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