AY/8930: implement tone and env period macros
This commit is contained in:
parent
e495c8d990
commit
8f577fb669
5 changed files with 45 additions and 6 deletions
|
|
@ -79,6 +79,7 @@ class DivPlatformAY8930: public DivDispatch {
|
|||
|
||||
unsigned char autoEnvNum, autoEnvDen, duty, autoNoiseMode;
|
||||
signed char konCycles, autoNoiseOff;
|
||||
unsigned short fixedFreq;
|
||||
Channel():
|
||||
SharedChannel<int>(31),
|
||||
envelope(Envelope()),
|
||||
|
|
@ -90,7 +91,8 @@ class DivPlatformAY8930: public DivDispatch {
|
|||
duty(4),
|
||||
autoNoiseMode(0),
|
||||
konCycles(0),
|
||||
autoNoiseOff(0) {}
|
||||
autoNoiseOff(0),
|
||||
fixedFreq(0) {}
|
||||
};
|
||||
Channel chan[3];
|
||||
bool isMuted[3];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue