SMS: possibly fix noise pitch issue

hoping this causes no regressions. fixes #56
This commit is contained in:
tildearrow 2022-01-30 17:10:15 -05:00
parent bf9eb8b0a4
commit 237ad1f517
2 changed files with 13 additions and 3 deletions

View file

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