OPL: fix drum muting
This commit is contained in:
parent
b4ca8a3ccf
commit
8cac04d917
|
@ -722,6 +722,10 @@ void DivPlatformOPL::muteChannel(int ch, bool mute) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (properDrums && ch>melodicChans) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (isMuted[ch]) {
|
if (isMuted[ch]) {
|
||||||
rWrite(chanMap[ch]+ADDR_LR_FB_ALG,(chan[ch].state.alg&1)|(chan[ch].state.fb<<1));
|
rWrite(chanMap[ch]+ADDR_LR_FB_ALG,(chan[ch].state.alg&1)|(chan[ch].state.fb<<1));
|
||||||
if (ops==4) {
|
if (ops==4) {
|
||||||
|
|
Loading…
Reference in a new issue