[Scummvm-cvs-logs] scummvm master -> 419419c8608b804cd95dd797ce78f7bed604de8b
lordhoto
lordhoto at gmail.com
Thu Jan 7 15:05:18 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
419419c860 AUDIO: Fix clang warning in mame.cpp.
Commit: 419419c8608b804cd95dd797ce78f7bed604de8b
https://github.com/scummvm/scummvm/commit/419419c8608b804cd95dd797ce78f7bed604de8b
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2016-01-07T15:04:10+01:00
Commit Message:
AUDIO: Fix clang warning in mame.cpp.
Changed paths:
audio/softsynth/opl/mame.cpp
diff --git a/audio/softsynth/opl/mame.cpp b/audio/softsynth/opl/mame.cpp
index 696169b..eb08582 100644
--- a/audio/softsynth/opl/mame.cpp
+++ b/audio/softsynth/opl/mame.cpp
@@ -97,8 +97,8 @@ void OPL::generateSamples(int16 *buffer, int length) {
/* final output shift , limit minimum and maximum */
#define OPL_OUTSB (TL_BITS+3-16) /* OPL output final shift 16bit */
-#define OPL_MAXOUT (0x7fff<<OPL_OUTSB)
-#define OPL_MINOUT (-0x8000<<OPL_OUTSB)
+#define OPL_MAXOUT (0x7fff<<OPL_OUTSB)
+#define OPL_MINOUT (-(0x8000<<OPL_OUTSB))
/* -------------------- quality selection --------------------- */
More information about the Scummvm-git-logs
mailing list