diff options
-rw-r--r-- | audio/softsynth/opl/mame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/softsynth/opl/mame.cpp b/audio/softsynth/opl/mame.cpp index 696169be09..eb08582da0 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 --------------------- */ |