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 1f3ae1c0ba3f1cfe12c409ebb9f52d5035cda57d
parent 70fec21a8e418a59563ac9b0fe7cbd8b4e2d87ef
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun,  4 Dec 2022 02:35:06 +0100

fix loading of multiple singles via bank load didn't load all singles but only the last one

Diffstat:
Msource/jucePlugin/ui3/VirusEditor.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/jucePlugin/ui3/VirusEditor.cpp b/source/jucePlugin/ui3/VirusEditor.cpp @@ -466,9 +466,9 @@ namespace genericVirusUI else { // load to bank A - for (const auto& p : patches) + for(uint8_t i=0; i<static_cast<uint8_t>(patches.size()); ++i) { - const auto data = getController().modifySingleDump(p.sysex, virusLib::BankNumber::A, 0, true, false); + const auto data = getController().modifySingleDump(patches[i].sysex, virusLib::BankNumber::A, i, true, false); getController().sendSysEx(data); } }