Fix AY8930 unmuting

This commit is contained in:
cam900 2022-06-21 11:06:26 +09:00
parent 4ca64cc66c
commit 69ea1d0227

View file

@ -521,7 +521,7 @@ void DivPlatformAY8930::muteChannel(int ch, bool mute) {
isMuted[ch]=mute;
if (isMuted[ch]) {
rWrite(0x08+ch,0);
} else {
} else if (chan[ch].active) {
rWrite(0x08+ch,(chan[ch].outVol&31)|((chan[ch].psgMode&4)<<3));
}
}