YM2612: fix another pop
This commit is contained in:
parent
2c528c9ca8
commit
bf49b43e7b
|
@ -1126,14 +1126,17 @@ void DivPlatformGenesis::forceIns() {
|
||||||
rWrite(chanOffs[i]+ADDR_FB_ALG,(chan[i].state.alg&7)|(chan[i].state.fb<<3));
|
rWrite(chanOffs[i]+ADDR_FB_ALG,(chan[i].state.alg&7)|(chan[i].state.fb<<3));
|
||||||
rWrite(chanOffs[i]+ADDR_LRAF,(IS_REALLY_MUTED(i)?0:(chan[i].pan<<6))|(chan[i].state.fms&7)|((chan[i].state.ams&3)<<4));
|
rWrite(chanOffs[i]+ADDR_LRAF,(IS_REALLY_MUTED(i)?0:(chan[i].pan<<6))|(chan[i].state.fms&7)|((chan[i].state.ams&3)<<4));
|
||||||
if (chan[i].active) {
|
if (chan[i].active) {
|
||||||
|
if (i<5 || !chan[i].dacMode) {
|
||||||
chan[i].keyOn=true;
|
chan[i].keyOn=true;
|
||||||
chan[i].freqChanged=true;
|
chan[i].freqChanged=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
rWrite(0x2b,0x00);
|
||||||
|
rWrite(0x2a,0x00);
|
||||||
if (chan[5].dacMode) {
|
if (chan[5].dacMode) {
|
||||||
chan[5].dacSample=-1;
|
chan[5].dacSample=-1;
|
||||||
chan[6].dacSample=-1;
|
chan[6].dacSample=-1;
|
||||||
rWrite(0x2b,0x80);
|
|
||||||
}
|
}
|
||||||
immWrite(0x22,lfoValue);
|
immWrite(0x22,lfoValue);
|
||||||
flushFirst=true;
|
flushFirst=true;
|
||||||
|
|
Loading…
Reference in New Issue