Some instruments have more than 1 global header per file..
This commit is contained in:
parent
a4df74a9d8
commit
0615fcab9c
1 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ void sfz::Synth::callback(std::string_view header, const std::vector<Opcode>& 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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue