mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
Reduce line
This commit is contained in:
parent
724bd5b8dc
commit
53ad1c93e6
1 changed files with 1 additions and 5 deletions
|
@ -339,11 +339,7 @@ void DivPlatformX1_010::updateEnvelope(int ch) {
|
||||||
}
|
}
|
||||||
chWrite(ch,5,0x10|(ch&0xf));
|
chWrite(ch,5,0x10|(ch&0xf));
|
||||||
} else {
|
} else {
|
||||||
if (isMuted[ch]) {
|
chWrite(ch,1,isMuted[ch]?0:((chan[ch].lvol<<4)|chan[ch].rvol));
|
||||||
chWrite(ch,1,0);
|
|
||||||
} else {
|
|
||||||
chWrite(ch,1,(chan[ch].lvol<<4)|chan[ch].rvol);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue