arcade: finish it up

0.12 feature parityyyyyyyy!
This commit is contained in:
tildearrow 2021-12-09 00:46:48 -05:00
parent 7ac225e839
commit defaf7397a
5 changed files with 131 additions and 34 deletions

View file

@ -22,7 +22,7 @@ class DivPlatformArcade: public DivDispatch {
unsigned char freq;
PCMChannel(): sample(-1), pos(0), len(0), freq(0) {}
} pcm;
Channel(): freqH(0), freqL(0), freq(0), baseFreq(0), pitch(0), ins(-1), active(false), insChanged(true), freqChanged(false), keyOn(false), keyOff(false), portaPause(false), vol(0), chVolL(8), chVolR(8) {}
Channel(): freqH(0), freqL(0), freq(0), baseFreq(0), pitch(0), ins(-1), active(false), insChanged(true), freqChanged(false), keyOn(false), keyOff(false), portaPause(false), vol(0), chVolL(127), chVolR(127) {}
};
Channel chan[13];
struct QueuedWrite {
@ -33,9 +33,8 @@ class DivPlatformArcade: public DivDispatch {
};
std::queue<QueuedWrite> writes;
opm_t fm;
int psgClocks;
int psgOut;
int delay;
int pcmL, pcmR, pcmCycles;
unsigned char lastBusy;
bool extMode;