From 696f25a8a41af065eff70ba628fba0f08cfcbd61 Mon Sep 17 00:00:00 2001 From: SarahW Date: Thu, 19 May 2016 21:18:00 +0100 Subject: [PATCH] Fixed OPL3 percussion mode. --- src/dosbox/dbopl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dosbox/dbopl.cpp b/src/dosbox/dbopl.cpp index 3824705..73026f2 100644 --- a/src/dosbox/dbopl.cpp +++ b/src/dosbox/dbopl.cpp @@ -1036,7 +1036,7 @@ void Chip::WriteBD( Bit8u val ) { if ( val & 0x20 ) { //Drum was just enabled, make sure channel 6 has the right synth if ( change & 0x20 ) { - if ( opl3Active ) { + if ( is_opl3 ) { chan[6].synthHandler = &Channel::BlockTemplate< sm3Percussion >; } else { chan[6].synthHandler = &Channel::BlockTemplate< sm2Percussion >;