AY8930: finally implement auto noise freq
This commit is contained in:
parent
c2565b1300
commit
f64adfa8dd
3 changed files with 35 additions and 3 deletions
|
|
@ -77,8 +77,8 @@ class DivPlatformAY8930: public DivDispatch {
|
|||
setPos(false) {}
|
||||
} dac;
|
||||
|
||||
unsigned char autoEnvNum, autoEnvDen, duty;
|
||||
signed char konCycles;
|
||||
unsigned char autoEnvNum, autoEnvDen, duty, autoNoiseMode;
|
||||
signed char konCycles, autoNoiseOff;
|
||||
Channel():
|
||||
SharedChannel<int>(31),
|
||||
envelope(Envelope()),
|
||||
|
|
@ -88,7 +88,9 @@ class DivPlatformAY8930: public DivDispatch {
|
|||
autoEnvNum(0),
|
||||
autoEnvDen(0),
|
||||
duty(4),
|
||||
konCycles(0) {}
|
||||
autoNoiseMode(0),
|
||||
konCycles(0),
|
||||
autoNoiseOff(0) {}
|
||||
};
|
||||
Channel chan[3];
|
||||
bool isMuted[3];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue