commit a940f72302f826918176c097d0a2461af06db0bc
parent c2b3a937d92babc82789240fe3d642436263d308
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Sat, 23 Nov 2024 15:47:57 +0100
fix duplicated byte f7 in combined patch
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/xtLib/xtState.cpp b/source/xtLib/xtState.cpp
@@ -1072,7 +1072,7 @@ namespace xt
// a combined single is a single dump + a table dump + an arbitrary number of wave dumps in one sysex, i.e. f0/f7 are stripped from the individual dumps
single.pop_back();
- single.insert(single.end(), table.begin()+1, table.end());
+ single.insert(single.end(), table.begin()+1, table.end()-1);
for (const auto& wave : waves)
single.insert(single.end(), wave.begin()+1, wave.end()-1);