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 232ae199d0773e0bfdfb4adb8f4cd86e3d7d2c7e
parent d858f6d910ba427e1dd928e1bf5d90adee2562fd
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Fri, 21 Jan 2022 18:34:23 +0100

fix loaded presets became version 0 which caused B&C features such as reverb, osc3 and others to be disabled and arp mode to be incorrect
fixes #39, #37

Diffstat:
Msource/jucePlugin/VirusController.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/jucePlugin/VirusController.cpp b/source/jucePlugin/VirusController.cpp @@ -354,7 +354,7 @@ namespace Virus const auto ch = patch.progNumber == 0x40 ? 0 : patch.progNumber; for (auto i = 0; i < kDataSizeInBytes; i++) { - if (auto *p = findSynthParam(ch, i > bankSize ? 0x71 : 0x70, i % bankSize)) { + if (auto *p = findSynthParam(ch, i >= bankSize ? 0x71 : 0x70, i % bankSize)) { if((p->getDescription().classFlags & Parameter::MULTI_OR_SINGLE) && isMultiMode()) continue; else