mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
VRC6: changes around volume macro
This commit is contained in:
parent
a8ee4b1245
commit
6f3b9f2e5d
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ void DivPlatformVRC6::tick() {
|
|||
chWrite(i,0,chan[i].outVol);
|
||||
}
|
||||
} else { // pulse
|
||||
chan[i].outVol=((chan[i].vol&15)*MIN(63,chan[i].std.vol))/63;
|
||||
chan[i].outVol=((chan[i].vol&15)*MIN(15,chan[i].std.vol))/15;
|
||||
if (chan[i].outVol<0) chan[i].outVol=0;
|
||||
if (chan[i].outVol>15) chan[i].outVol=15;
|
||||
if ((!isMuted[i]) && (!chan[i].pcm)) {
|
||||
|
|
Loading…
Reference in a new issue