OPN[A/B/2]?: implement 18xx effect

This commit is contained in:
tildearrow 2022-06-28 01:16:46 -05:00
parent e2449d91f1
commit f483292a88
11 changed files with 92 additions and 5 deletions

View file

@ -1032,6 +1032,13 @@ int DivPlatformYM2610::dispatch(DivCommand c) {
chan[c.chan].freqChanged=true;
break;
}
case DIV_CMD_FM_EXTCH: {
if (extSys) {
extMode=c.value;
immWrite(0x27,extMode?0x40:0);
}
break;
}
case DIV_CMD_FM_LFO: {
rWrite(0x22,(c.value&7)|((c.value>>4)<<3));
break;