From 4f2ce0f907605489af38144363d57f4365f2d2df Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 27 Dec 2021 16:15:26 -0500 Subject: [PATCH] fix arpeggio macro if value<-12 --- src/engine/macroInt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/macroInt.h b/src/engine/macroInt.h index 89412c69..d7b2912d 100644 --- a/src/engine/macroInt.h +++ b/src/engine/macroInt.h @@ -7,7 +7,9 @@ class DivMacroInt { DivInstrument* ins; int volPos, arpPos, dutyPos, wavePos; public: - unsigned char vol, arp, duty, wave; + unsigned char vol; + signed char arp; + unsigned char duty, wave; bool hasVol, hasArp, hasDuty, hasWave; bool hadVol, hadArp, hadDuty, hadWave; bool finishedVol, finishedArp, finishedDuty, finishedWave;