implement operator mask effect

This commit is contained in:
tildearrow 2024-08-24 18:42:23 -05:00
parent 0ab9f6c6fd
commit bf8d51ca83
18 changed files with 70 additions and 67 deletions

View file

@ -761,6 +761,12 @@ int DivPlatformArcade::dispatch(DivCommand c) {
immWrite(0x19,0x80|pmDepth);
break;
}
case DIV_CMD_FM_OPMASK:
chan[c.chan].opMask=c.value&15;
if (chan[c.chan].active) {
chan[c.chan].opMaskChanged=true;
}
break;
case DIV_CMD_FM_HARD_RESET:
chan[c.chan].hardReset=c.value;
break;