genesis: fix massive bug when muting SN

This commit is contained in:
tildearrow 2021-12-19 00:49:47 -05:00
parent e35f48b7a0
commit efd5e844ce
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ int DivPlatformGenesis::toFreq(int freq) {
void DivPlatformGenesis::muteChannel(int ch, bool mute) {
if (ch>5) {
psg.muteChannel(ch,mute);
psg.muteChannel(ch-6,mute);
return;
}
isMuted[ch]=mute;