and MORE bug emulation

this time the volume DOES reset back to normal if you issue an off after
a 0Axx.
fixes pads.dmf
This commit is contained in:
tildearrow 2021-12-19 00:42:20 -05:00
parent 667526e414
commit e35f48b7a0
1 changed files with 4 additions and 0 deletions

View File

@ -536,6 +536,10 @@ void DivEngine::processRow(int i, bool afterDelay) {
chan[i].portaSpeed=-1;
}
}*/
if (!chan[i].keyOn && chan[i].volume>chan[i].volMax) {
chan[i].volume=chan[i].volMax;
dispatchCmd(DivCommand(DIV_CMD_VOLUME,i,chan[i].volume>>8));
}
chan[i].keyOn=true;
}
chan[i].nowYouCanStop=true;