mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 23:13:01 +00:00
TIA: one more mute refinement
This commit is contained in:
parent
b8538fa091
commit
85c7612194
1 changed files with 5 additions and 1 deletions
|
@ -207,13 +207,17 @@ void DivPlatformTIA::muteChannel(int ch, bool mute) {
|
|||
if (isMuted[ch]) {
|
||||
rWrite(0x19+ch,0);
|
||||
} else {
|
||||
rWrite(0x19+ch,chan[ch].outVol&15);
|
||||
if (chan[ch].active) rWrite(0x19+ch,chan[ch].outVol&15);
|
||||
}
|
||||
}
|
||||
|
||||
void DivPlatformTIA::forceIns() {
|
||||
for (int i=0; i<2; i++) {
|
||||
chan[i].insChanged=true;
|
||||
if (chan[i].active) {
|
||||
chan[i].freqChanged=true;
|
||||
rWrite(0x19+i,chan[i].outVol&15);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue