implement brokenOutVol compat flag

#341
This commit is contained in:
tildearrow 2022-05-31 19:03:26 -05:00
parent b8a0084587
commit 1be93d9bbb
11 changed files with 32 additions and 2 deletions

View file

@ -346,6 +346,9 @@ int DivPlatformAY8930::dispatch(DivCommand c) {
chan[c.chan].active=true;
chan[c.chan].keyOn=true;
chan[c.chan].macroInit(ins);
if (!parent->song.brokenOutVol && !chan[c.chan].std.vol.will) {
chan[c.chan].outVol=chan[c.chan].vol;
}
if (isMuted[c.chan]) {
rWrite(0x08+c.chan,0);
} else {