newVolumeScaling, part 2
This commit is contained in:
parent
8141574d3c
commit
e94d1b857f
13 changed files with 79 additions and 79 deletions
|
|
@ -87,7 +87,7 @@ void DivPlatformSegaPCM::tick(bool sysTick) {
|
|||
|
||||
if (parent->song.newSegaPCM) {
|
||||
if (chan[i].std.vol.had) {
|
||||
chan[i].outVol=(chan[i].vol*MIN(127,chan[i].std.vol.val))/127;
|
||||
chan[i].outVol=(chan[i].vol*MIN(64,chan[i].std.vol.val))>>6;
|
||||
chan[i].chVolL=(chan[i].outVol*chan[i].chPanL)/127;
|
||||
chan[i].chVolR=(chan[i].outVol*chan[i].chPanR)/127;
|
||||
if (dumpWrites) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue