More simpler
This commit is contained in:
parent
34131e52d5
commit
1e8ad16a68
|
@ -51,8 +51,7 @@ void DivPlatformPV1000::tick(bool sysTick) {
|
||||||
for (int i=0; i<3; i++) {
|
for (int i=0; i<3; i++) {
|
||||||
chan[i].std.next();
|
chan[i].std.next();
|
||||||
if (chan[i].std.vol.had) {
|
if (chan[i].std.vol.had) {
|
||||||
chan[i].outVol=VOL_SCALE_LINEAR(chan[i].std.vol.val,chan[i].vol,1);
|
chan[i].outVol=(chan[i].vol && chan[i].std.vol.val);
|
||||||
if (chan[i].outVol<0) chan[i].outVol=0;
|
|
||||||
chan[i].freqChanged=true;
|
chan[i].freqChanged=true;
|
||||||
}
|
}
|
||||||
if (NEW_ARP_STRAT) {
|
if (NEW_ARP_STRAT) {
|
||||||
|
|
Loading…
Reference in New Issue