mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
fix 4-op mode for real
This commit is contained in:
parent
42df8255fc
commit
d2ad74206a
1 changed files with 2 additions and 1 deletions
|
@ -360,7 +360,8 @@ void DivPlatformOPL::tick() {
|
||||||
update4OpMask=false;
|
update4OpMask=false;
|
||||||
if (oplType==3) {
|
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);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue