OPL: fix drum muting

This commit is contained in:
tildearrow 2023-09-13 18:03:22 -05:00
parent b4ca8a3ccf
commit 8cac04d917

View file

@ -722,6 +722,10 @@ void DivPlatformOPL::muteChannel(int ch, bool mute) {
}
}
if (properDrums && ch>melodicChans) {
return;
}
if (isMuted[ch]) {
rWrite(chanMap[ch]+ADDR_LR_FB_ALG,(chan[ch].state.alg&1)|(chan[ch].state.fb<<1));
if (ops==4) {