Merge branch 'master' into exportwin

This commit is contained in:
tildearrow 2023-12-22 00:15:05 -05:00
commit c56db97295

View file

@ -199,7 +199,7 @@ void DivPlatformNamcoWSG::tick(bool sysTick) {
for (int i=0; i<chans; i++) { for (int i=0; i<chans; i++) {
chan[i].std.next(); chan[i].std.next();
if (chan[i].std.vol.had) { if (chan[i].std.vol.had) {
chan[i].outVol=((chan[i].vol&15)*MIN(15,chan[i].std.vol.val))>>4; chan[i].outVol=VOL_SCALE_LINEAR(chan[i].vol,chan[i].std.vol.val,15);
} }
if (chan[i].std.duty.had) { if (chan[i].std.duty.had) {
chan[i].noise=chan[i].std.duty.val; chan[i].noise=chan[i].std.duty.val;