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
1 changed files with 4 additions and 1 deletions

View File

@ -799,7 +799,10 @@ int DivPlatformES5506::dispatch(DivCommand c) {
}
break;
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;
case DIV_CMD_PANNING: {
if (chan[c.chan].ca!=0) {