From bb4797ee68c0f12018196d3ee8caddcdcad9fe38 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sat, 19 May 2018 22:33:37 +0300 Subject: Works and fixes - Fixed an incorrect calculation of 4-op channels and choosing 4-op channels for 2-op only banks - Resolved trouble with automatically chosen flags because of internal confusion --- src/adlmidi_opl3.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/adlmidi_opl3.cpp') diff --git a/src/adlmidi_opl3.cpp b/src/adlmidi_opl3.cpp index d7dec78..279a7d5 100644 --- a/src/adlmidi_opl3.cpp +++ b/src/adlmidi_opl3.cpp @@ -151,6 +151,7 @@ void OPL3::setEmbeddedBank(unsigned int bank) dynamic_percussion_offset = 128; dynamic_melodic_banks.clear(); dynamic_percussion_banks.clear(); + dynamic_metainstruments.clear(); } -- cgit v1.2.3