TODO: implement 30xx on ExtCh for pre7

This commit is contained in:
tildearrow 2023-07-08 18:06:19 -05:00
parent 9d0a95e228
commit 3765294cd3
2 changed files with 6 additions and 2 deletions

View file

@ -130,14 +130,15 @@ class DivPlatformOPN: public DivPlatformFMBase {
unsigned char freqH, freqL; unsigned char freqH, freqL;
int portaPauseFreq; int portaPauseFreq;
signed char konCycles; signed char konCycles;
bool mask; bool mask, hardReset;
OPNOpChannel(): OPNOpChannel():
SharedChannel<int>(0), SharedChannel<int>(0),
freqH(0), freqH(0),
freqL(0), freqL(0),
portaPauseFreq(0), portaPauseFreq(0),
konCycles(0), konCycles(0),
mask(true) {} mask(true),
hardReset(false) {}
}; };
struct OPNOpChannelStereo: public OPNOpChannel { struct OPNOpChannelStereo: public OPNOpChannel {

View file

@ -396,6 +396,9 @@ int DivPlatformGenesisExt::dispatch(DivCommand c) {
} }
break; break;
} }
case DIV_CMD_FM_HARD_RESET:
opChan[ch].hardReset=c.value;
break;
case DIV_CMD_GET_VOLMAX: case DIV_CMD_GET_VOLMAX:
return 127; return 127;
break; break;