From d519f6816e6dbc27ecfa81d2493ae4f40be7f497 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 24 Jun 2018 02:10:25 +0300 Subject: Make CMF files sound more correctly (Especially, Dyna Blaster and Xargon musics are sounding too messy. This fix allows to resolve that) --- src/adlmidi_midiplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/adlmidi_midiplay.cpp') diff --git a/src/adlmidi_midiplay.cpp b/src/adlmidi_midiplay.cpp index 1012b77..190a521 100644 --- a/src/adlmidi_midiplay.cpp +++ b/src/adlmidi_midiplay.cpp @@ -1225,7 +1225,7 @@ void MIDIplay::setErrorString(const std::string &err) int64_t MIDIplay::CalculateAdlChannelGoodness(size_t c, const MIDIchannel::NoteInfo::Phys &ins, uint16_t) const { - int64_t s = -ch[c].koff_time_until_neglible; + int64_t s = (opl.m_musicMode != OPL3::MODE_CMF) ? -ch[c].koff_time_until_neglible : 0; // Same midi-instrument = some stability //if(c == MidCh) s += 4; -- cgit v1.2.3