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 f55ce92bc33f94f929a5bc20cde872679be57486
parent 4b708e37c75576a7219beb15db8189d32e8c7098
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Tue, 30 Jul 2024 16:07:18 +0200

do not expose parameters for more parts than the machine has

Diffstat:
Mdoc/changelog.txt | 1+
Msource/jucePluginLib/controller.cpp | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/changelog.txt b/doc/changelog.txt @@ -21,6 +21,7 @@ Xenia: - [Fix] Font when renaming a patch was too large - [Fix] Microcontroller timing +- [Fix] Do not expose parameters for parts 9-16 as the machine only has 8 1.3.16 (2024.07.14) diff --git a/source/jucePluginLib/controller.cpp b/source/jucePluginLib/controller.cpp @@ -44,7 +44,7 @@ namespace pluginLib std::map<ParamIndex, int> knownParameterIndices; - for (uint8_t part = 0; part < 16; part++) + for (uint8_t part = 0; part < getPartCount(); part++) { m_paramsByParamType[part].reserve(m_descriptions.getDescriptions().size());