PC speaker: volume macro (finally)

This commit is contained in:
tildearrow 2022-04-01 13:47:58 -05:00
parent abd5dd3a12
commit dfb4f211c1
1 changed files with 2 additions and 2 deletions

View File

@ -168,8 +168,8 @@ void DivPlatformPCSpeaker::tick() {
for (int i=0; i<1; i++) {
chan[i].std.next();
if (chan[i].std.hadVol) {
// ok, why are the volumes like that?
chan[i].outVol=chan[i].vol;
chan[i].outVol=(chan[i].vol && chan[i].std.vol);
on=chan[i].outVol;
}
if (chan[i].std.hadArp) {
if (!chan[i].inPorta) {