Enables volume envelopes in the noise channel of the VSU in VirtualBoy.
This commit is contained in:
parent
593ad6a07e
commit
969749e41d
|
@ -324,7 +324,7 @@ int DivPlatformVB::dispatch(DivCommand c) {
|
||||||
chan[c.chan].envHigh&=~3;
|
chan[c.chan].envHigh&=~3;
|
||||||
chan[c.chan].envHigh|=(c.value>>4)&3;
|
chan[c.chan].envHigh|=(c.value>>4)&3;
|
||||||
chan[c.chan].envLow=c.value&15;
|
chan[c.chan].envLow=c.value&15;
|
||||||
writeEnv(c.chan);
|
writeEnv(c.chan,true);
|
||||||
break;
|
break;
|
||||||
case DIV_CMD_FDS_MOD_DEPTH: // set modulation
|
case DIV_CMD_FDS_MOD_DEPTH: // set modulation
|
||||||
if (c.chan!=4) break;
|
if (c.chan!=4) break;
|
||||||
|
|
Loading…
Reference in a new issue