From 8f3b2e9b4d9f1f82682e1eed018153091cddee9f Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Sat, 29 Nov 2008 18:01:16 +0000 Subject: Remove warnings from NDS build. svn-id: r35172 --- sound/softsynth/ym2612.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/softsynth/ym2612.cpp') 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; -- cgit v1.2.3