commit 29d9f092d9652215c3fee3704160a84181f7ac22
parent d34e04061d6658d6ad5da36152700e44090a727a
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Thu, 1 Aug 2024 21:45:46 +0200
fix distortion not properly cleared
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/nord/n2x/n2xLib/n2xstate.cpp b/source/nord/n2x/n2xLib/n2xstate.cpp
@@ -293,7 +293,7 @@ namespace n2x
for (const auto part : parts)
{
auto v = unpackNibbles(m_singles[part], offset);
- v &= ~0x8;
+ v &= ~(1<<4);
v |= _ev.c << 4;
packNibbles(m_singles[part], offset, v);
}