mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
Game Boy: fix zombie mode and macro speed
This commit is contained in:
parent
122694d7c9
commit
c23b504d79
1 changed files with 5 additions and 1 deletions
|
@ -432,7 +432,11 @@ int DivPlatformGB::dispatch(DivCommand c) {
|
||||||
chan[c.chan].envVol=chan[c.chan].vol;
|
chan[c.chan].envVol=chan[c.chan].vol;
|
||||||
chan[c.chan].soManyHacksToMakeItDefleCompatible=true;
|
chan[c.chan].soManyHacksToMakeItDefleCompatible=true;
|
||||||
} else if (c.chan!=2) {
|
} else if (c.chan!=2) {
|
||||||
chan[c.chan].envVol=chan[c.chan].vol;
|
if (chan[c.chan].std.vol.will && !chan[c.chan].std.vol.finished) {
|
||||||
|
chan[c.chan].outVol=VOL_SCALE_LINEAR(chan[c.chan].vol&15,MIN(15,chan[c.chan].std.vol.val),15);
|
||||||
|
}
|
||||||
|
chan[c.chan].envVol=chan[c.chan].outVol;
|
||||||
|
|
||||||
if (!chan[c.chan].keyOn) chan[c.chan].killIt=true;
|
if (!chan[c.chan].keyOn) chan[c.chan].killIt=true;
|
||||||
chan[c.chan].freqChanged=true;
|
chan[c.chan].freqChanged=true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue