mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
TIA: fix volume after note off
This commit is contained in:
parent
0fd86f33c0
commit
bd7077de3c
1 changed files with 2 additions and 2 deletions
|
@ -197,10 +197,10 @@ int DivPlatformTIA::dispatch(DivCommand c) {
|
|||
if (!chan[c.chan].std.vol.has) {
|
||||
chan[c.chan].outVol=c.value;
|
||||
}
|
||||
if (isMuted[c.chan]) {
|
||||
if (isMuted[c.chan] || !chan[c.chan].active) {
|
||||
rWrite(0x19+c.chan,0);
|
||||
} else {
|
||||
rWrite(0x19+c.chan,chan[c.chan].vol&15);
|
||||
rWrite(0x19+c.chan,chan[c.chan].outVol&15);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue