From 630bdfb2b574f1fa129a5298fe6df7b1380409b0 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 10 Sep 2023 13:06:25 -0500 Subject: [PATCH] K053260: fix legato + arp on non-linear pitch --- src/engine/platform/k053260.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/k053260.cpp b/src/engine/platform/k053260.cpp index 3c9d21932..e05b13a70 100644 --- a/src/engine/platform/k053260.cpp +++ b/src/engine/platform/k053260.cpp @@ -314,7 +314,7 @@ int DivPlatformK053260::dispatch(DivCommand c) { break; } case DIV_CMD_LEGATO: { - chan[c.chan].baseFreq=NOTE_PERIODIC(c.value+((HACKY_LEGATO_MESS)?(chan[c.chan].std.arp.val-12):(0))); + chan[c.chan].baseFreq=NOTE_PERIODIC(c.value+((HACKY_LEGATO_MESS)?(chan[c.chan].std.arp.val):(0))); chan[c.chan].freqChanged=true; chan[c.chan].note=c.value; break;