From 0615fcab9ca71399f84ee6745731a22667b608ff Mon Sep 17 00:00:00 2001 From: paulfd Date: Tue, 10 Sep 2019 23:04:57 +0200 Subject: [PATCH] Some instruments have more than 1 global header per file.. --- sfizz/Synth.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sfizz/Synth.cpp b/sfizz/Synth.cpp index 7b23219f..6ecaaa33 100644 --- a/sfizz/Synth.cpp +++ b/sfizz/Synth.cpp @@ -41,7 +41,8 @@ void sfz::Synth::callback(std::string_view header, const std::vector& me switch (hash(header)) { case hash("global"): // We shouldn't have multiple global headers in file - ASSERT(!hasGlobal); + // But apparently some instruments do not really care :) + // ASSERT(!hasGlobal); globalOpcodes = members; handleGlobalOpcodes(members); hasGlobal = true;