commit 2a3eadc7cb9657781869d877185ee58260338fe4 parent d5c00c80a3a939a059b705977ba191e61b6bcded Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Sun, 2 Mar 2025 12:50:10 +0100 fix applyModifications not working for combined patches Diffstat:
M | source/xtJucePlugin/xtPatchManager.cpp | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/xtJucePlugin/xtPatchManager.cpp b/source/xtJucePlugin/xtPatchManager.cpp @@ -115,10 +115,10 @@ namespace xtJucePlugin { auto applyModifications = [&_patch](pluginLib::patchDB::Data& _result) -> bool { - if (xt::State::getCommand(_patch->sysex) != xt::SysexCommand::SingleDump) + if (xt::State::getCommand(_result) != xt::SysexCommand::SingleDump) return false; - const auto dumpSize = _patch->sysex.size(); + const auto dumpSize = _result.size(); if (dumpSize != std::tuple_size_v<xt::State::Single>) return false;