mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-03 06:01:29 +00:00
OPL: fix #369
This commit is contained in:
parent
2a952b1a66
commit
3e1c2197eb
1 changed files with 3 additions and 0 deletions
|
@ -548,6 +548,9 @@ int DivPlatformOPL::dispatch(DivCommand c) {
|
|||
if (chan[c.chan].insChanged) {
|
||||
int ops=(slots[3][c.chan]!=255 && chan[c.chan].state.ops==4 && oplType==3)?4:2;
|
||||
chan[c.chan].fourOp=(ops==4);
|
||||
if (chan[c.chan].fourOp) {
|
||||
chan[c.chan+1].std.init(NULL);
|
||||
}
|
||||
update4OpMask=true;
|
||||
for (int i=0; i<ops; i++) {
|
||||
unsigned char slot=slots[i][c.chan];
|
||||
|
|
Loading…
Reference in a new issue