SMS: aaaand more .dmf compatibility
This commit is contained in:
parent
0ec28f168e
commit
949e293053
|
@ -133,7 +133,7 @@ void DivPlatformSMS::tick(bool sysTick) {
|
||||||
if (i==3) CHIP_DIVIDER=noiseDivider;
|
if (i==3) CHIP_DIVIDER=noiseDivider;
|
||||||
chan[i].std.next();
|
chan[i].std.next();
|
||||||
if (chan[i].std.vol.had) {
|
if (chan[i].std.vol.had) {
|
||||||
chan[i].outVol=MIN(15,chan[i].std.vol.val)-(15-(chan[i].vol&15));
|
chan[i].outVol=VOL_SCALE_LOG(chan[i].std.vol.val,chan[i].vol,15);
|
||||||
if (chan[i].outVol<0) chan[i].outVol=0;
|
if (chan[i].outVol<0) chan[i].outVol=0;
|
||||||
// old formula
|
// old formula
|
||||||
// ((chan[i].vol&15)*MIN(15,chan[i].std.vol.val))>>4;
|
// ((chan[i].vol&15)*MIN(15,chan[i].std.vol.val))>>4;
|
||||||
|
|
Loading…
Reference in New Issue