fix negative notes

This commit is contained in:
tildearrow 2022-01-20 16:56:35 -05:00
parent 46fd774f30
commit 4b43694db0
9 changed files with 26 additions and 25 deletions

View file

@ -7,8 +7,8 @@
class DivPlatformSMS: public DivDispatch {
struct Channel {
int freq, baseFreq, pitch;
unsigned char ins, note;
int freq, baseFreq, pitch, note;
unsigned char ins;
bool active, insChanged, freqChanged, keyOn, keyOff;
signed char vol, outVol;
DivMacroInt std;
@ -16,8 +16,8 @@ class DivPlatformSMS: public DivDispatch {
freq(0),
baseFreq(0),
pitch(0),
ins(-1),
note(0),
ins(-1),
active(false),
insChanged(true),
freqChanged(false),