aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/ym2612.cpp
diff options
context:
space:
mode:
authorRobin Watts2008-11-29 18:01:16 +0000
committerRobin Watts2008-11-29 18:01:16 +0000
commit8f3b2e9b4d9f1f82682e1eed018153091cddee9f (patch)
treef2af64fa467e70a3ba25e9c615baa053e0818d88 /sound/softsynth/ym2612.cpp
parent362bdf87d78f611f3e308e7e9234831208b93d68 (diff)
downloadscummvm-rg350-8f3b2e9b4d9f1f82682e1eed018153091cddee9f.tar.gz
scummvm-rg350-8f3b2e9b4d9f1f82682e1eed018153091cddee9f.tar.bz2
scummvm-rg350-8f3b2e9b4d9f1f82682e1eed018153091cddee9f.zip
Remove warnings from NDS build.
svn-id: r35172
Diffstat (limited to 'sound/softsynth/ym2612.cpp')
-rw-r--r--sound/softsynth/ym2612.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/ym2612.cpp b/sound/softsynth/ym2612.cpp
index efdf292150..7dac630ef9 100644
--- a/sound/softsynth/ym2612.cpp
+++ b/sound/softsynth/ym2612.cpp
@@ -716,7 +716,7 @@ void MidiDriver_YM2612::createLookupTables() {
int f10 = (fnum[i] >> 9) & 1;
int f11 = (fnum[i] >> 10) & 1;
int n4 = f11;
- int n3 = f11&(f10|f9|f8) | (~f11&f10&f9&f8);
+ int n3 = (f11&(f10|f9|f8)) | (~f11&f10&f9&f8);
int note = n4*2 + n3;
// see p.207
keycodeTable[(block+1)*12+i] = block*4 + note;