fix 4-op mode for real

This commit is contained in:
tildearrow 2022-03-14 02:39:10 -05:00
parent 42df8255fc
commit d2ad74206a
1 changed files with 2 additions and 1 deletions

View File

@ -360,7 +360,8 @@ void DivPlatformOPL::tick() {
update4OpMask=false;
if (oplType==3) {
unsigned char opMask=chan[0].fourOp|(chan[2].fourOp<<1)|(chan[4].fourOp<<2)|(chan[6].fourOp<<3)|(chan[8].fourOp<<4)|(chan[10].fourOp<<5);
rWrite(0x104,opMask);
immWrite(0x104,opMask);
printf("updating opMask to %.2x\n",opMask);
}
}