From 6363fe80044f339e0fffd68d263b112b7139f746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Sat, 24 Feb 2007 21:07:22 +0000 Subject: [PATCH] fix operator priority Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2825 --- src/hardware/sblaster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/sblaster.cpp b/src/hardware/sblaster.cpp index 99ddbcac..e1a2fb47 100644 --- a/src/hardware/sblaster.cpp +++ b/src/hardware/sblaster.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: sblaster.cpp,v 1.62 2007-02-22 08:39:06 qbix79 Exp $ */ +/* $Id: sblaster.cpp,v 1.63 2007-02-24 21:07:22 c2woody Exp $ */ #include #include @@ -954,7 +954,7 @@ static void CTMIXER_Reset(void) { _WHICH_[1]= ((((_VAL_) & 0x0f) << 1)|(sb.type==SBT_16 ? 1:3)); \ #define MAKEPROVOL(_WHICH_) \ - (((_WHICH_[0] & 0x1e) << 3) | ((_WHICH_[1] & 0x1e) >> 1) & (sb.type==SBT_16 ? 0xff:0xee)) + ((((_WHICH_[0] & 0x1e) << 3) | ((_WHICH_[1] & 0x1e) >> 1)) & (sb.type==SBT_16 ? 0xff:0xee)) static void DSP_ChangeStereo(bool stereo) { if (!sb.dma.stereo && stereo) {