fix negative notes
This commit is contained in:
parent
46fd774f30
commit
4b43694db0
9 changed files with 26 additions and 25 deletions
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
class DivPlatformNES: public DivDispatch {
|
||||
struct Channel {
|
||||
int freq, baseFreq, pitch, prevFreq;
|
||||
unsigned char ins, note, duty, sweep;
|
||||
int freq, baseFreq, pitch, prevFreq, note;
|
||||
unsigned char ins, duty, sweep;
|
||||
bool active, insChanged, freqChanged, sweepChanged, keyOn, keyOff, inPorta, furnaceDac;
|
||||
signed char vol, outVol, wave;
|
||||
DivMacroInt std;
|
||||
|
|
@ -16,8 +16,8 @@ class DivPlatformNES: public DivDispatch {
|
|||
baseFreq(0),
|
||||
pitch(0),
|
||||
prevFreq(65535),
|
||||
ins(-1),
|
||||
note(0),
|
||||
ins(-1),
|
||||
duty(0),
|
||||
sweep(0),
|
||||
active(false),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue