More simpler

This commit is contained in:
cam900 2023-03-06 12:26:31 +09:00
parent 34131e52d5
commit 1e8ad16a68
1 changed files with 1 additions and 2 deletions

View File

@ -51,8 +51,7 @@ void DivPlatformPV1000::tick(bool sysTick) {
for (int i=0; i<3; i++) {
chan[i].std.next();
if (chan[i].std.vol.had) {
chan[i].outVol=VOL_SCALE_LINEAR(chan[i].std.vol.val,chan[i].vol,1);
if (chan[i].outVol<0) chan[i].outVol=0;
chan[i].outVol=(chan[i].vol && chan[i].std.vol.val);
chan[i].freqChanged=true;
}
if (NEW_ARP_STRAT) {