SMS: possibly fix noise pitch issue
hoping this causes no regressions. fixes #56
This commit is contained in:
parent
bf9eb8b0a4
commit
237ad1f517
2 changed files with 13 additions and 3 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue