Revert "Fix volume effect"

This reverts commit fc4b2718c0.
This commit is contained in:
tildearrow 2023-02-12 01:21:34 -05:00
parent c980fc0986
commit cace96f445

View file

@ -799,7 +799,10 @@ int DivPlatformES5506::dispatch(DivCommand c) {
} }
break; break;
case DIV_CMD_GET_VOLUME: case DIV_CMD_GET_VOLUME:
return chan[c.chan].vol; if (chan[c.chan].std.vol.has) {
return chan[c.chan].vol;
}
return chan[c.chan].outVol;
break; break;
case DIV_CMD_PANNING: { case DIV_CMD_PANNING: {
if (chan[c.chan].ca!=0) { if (chan[c.chan].ca!=0) {