mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-05 12:25:05 +00:00
Fix AY8930 unmuting
This commit is contained in:
parent
4ca64cc66c
commit
69ea1d0227
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue