commit 297fb5c9b136b9da314f31cd2906a2cc209100e6
parent 7d32dd02ca0ab4ceb1f0403813cd0be3d791ac82
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Fri, 2 Aug 2024 17:21:23 +0200
fix changeSingleParameter bug, same issue as previously for multis
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/nord/n2x/n2xLib/n2xstate.cpp b/source/nord/n2x/n2xLib/n2xstate.cpp
@@ -322,7 +322,7 @@ namespace n2x
if(_part >= m_singles.size())
return false;
const auto off = getOffsetInSingleDump(_parameter);
- const auto current = unpackNibbles(m_singles[_part], _parameter);
+ const auto current = unpackNibbles(m_singles[_part], off);
if(current == _value)
return false;
packNibbles(m_singles[_part], off, _value);