From f67ae6eed4a7aa89fa593d42988dd469ab057225 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 18 Dec 2017 18:16:23 +0300 Subject: Fixed missing applySetup() calls on bank changes Without calling of that function changed bank will have incorrect setup. --- src/adlmidi_load.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/adlmidi_load.cpp') diff --git a/src/adlmidi_load.cpp b/src/adlmidi_load.cpp index f33c091..f9ddcc4 100644 --- a/src/adlmidi_load.cpp +++ b/src/adlmidi_load.cpp @@ -334,6 +334,8 @@ tryAgain: //Percussion offset is count of instruments multipled to count of melodic banks opl.dynamic_percussion_offset = 128 * count_melodic_banks; + applySetup(); + return true; } -- cgit v1.2.3