fix a bug with the volume macro

This commit is contained in:
scratchminer 2024-01-21 20:37:49 -05:00
parent 38c2121fc0
commit 8f8ccdc272

View file

@ -312,6 +312,7 @@ int DivPlatformPowerNoise::dispatch(DivCommand c) {
chan[c.chan].vol=c.value;
if (!chan[c.chan].std.vol.has) {
chan[c.chan].outVol=c.value;
cWrite(c.chan,0x06,isMuted[c.chan]?0:volPan(chan[c.chan].outVol, chan[c.chan].pan));
}
}
break;