mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 08:23:01 +00:00
TODO: implement 30xx on ExtCh for pre7
This commit is contained in:
parent
9d0a95e228
commit
3765294cd3
2 changed files with 6 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue