VIC-20: add on/off macro

This commit is contained in:
tildearrow 2023-03-17 16:50:42 -05:00
parent 49c47087e5
commit de2a6c418b
3 changed files with 24 additions and 3 deletions

View file

@ -27,10 +27,12 @@
class DivPlatformVIC20: public DivDispatch {
struct Channel: public SharedChannel<int> {
int wave, waveWriteCycle;
bool onOff;
Channel():
SharedChannel<int>(15),
wave(0),
waveWriteCycle(-1) {}
waveWriteCycle(-1),
onOff(true) {}
};
Channel chan[4];
DivDispatchOscBuffer* oscBuf[4];