commit 35e2b6d99e9801c7356b16596f0a84272396f3e3 parent 47e12754e100d48174bf39eb94663216666a21b5 Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Sat, 3 Aug 2024 02:15:29 +0200 fix not being able to load performance if part > 0 selected Diffstat:
M | source/nord/n2x/n2xJucePlugin/n2xController.cpp | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/source/nord/n2x/n2xJucePlugin/n2xController.cpp b/source/nord/n2x/n2xJucePlugin/n2xController.cpp @@ -329,13 +329,10 @@ namespace n2xJucePlugin if(!isSingle && !isMulti) return false; - if(isMulti && _part != 0) - return false; - auto d = _sysex; d[n2x::SysexIndex::IdxMsgType] = isSingle ? n2x::SysexByte::SingleDumpBankEditBuffer : n2x::SysexByte::MultiDumpBankEditBuffer; - d[n2x::SysexIndex::IdxMsgSpec] = static_cast<uint8_t>(_part); + d[n2x::SysexIndex::IdxMsgSpec] = static_cast<uint8_t>(isMulti ? 0 : _part); pluginLib::Controller::sendSysEx(d);