gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 74c0bb19f93cdc0acca2e03724bcd25297f1d4d1
parent d7bae530977046a658238dd74c694022c76231a2
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sat, 27 Apr 2024 15:18:20 +0200

do not skip empty tags & tag colors when creating cache as it corrupts the reading code

Diffstat:
Msource/jucePluginLib/patchdb/db.cpp | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/source/jucePluginLib/patchdb/db.cpp b/source/jucePluginLib/patchdb/db.cpp @@ -1954,9 +1954,6 @@ namespace pluginLib::patchDB const auto tagType = it.first; const auto& tags = it.second; - if(tags.empty()) - continue; - outStream.write(static_cast<uint8_t>(tagType)); outStream.write(static_cast<uint32_t>(tags.size())); @@ -1976,9 +1973,6 @@ namespace pluginLib::patchDB const auto tagType = it.first; const auto& mapStringToColor = it.second; - if(mapStringToColor.empty()) - continue; - outStream.write(static_cast<uint8_t>(tagType)); outStream.write(static_cast<uint32_t>(mapStringToColor.size()));