diff options
Diffstat (limited to 'audio/softsynth/adlib.cpp')
-rw-r--r-- | audio/softsynth/adlib.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/softsynth/adlib.cpp b/audio/softsynth/adlib.cpp index ba39e6d5e2..eb2f1093bb 100644 --- a/audio/softsynth/adlib.cpp +++ b/audio/softsynth/adlib.cpp @@ -2007,12 +2007,13 @@ void MidiDriver_ADLIB::adlibSetupChannelSecondary(int chan, const AdLibInstrumen // The original uses the following (strange) behavior: #if 0 if (instr->feedback | (pan > 64)) { - adlibWriteSecondary((byte)chan + 0xC0, 0x10); - } else { adlibWriteSecondary((byte)chan + 0xC0, 0x20); + } else { + adlibWriteSecondary((byte)chan + 0xC0, 0x10); } -#endif +#else adlibWriteSecondary((byte)chan + 0xC0, instr->feedback | ((pan > 64) ? 0x20 : 0x10)); +#endif } void MidiDriver_ADLIB::mcInitStuff(AdLibVoice *voice, Struct10 *s10, |