part 3 - C64 mishap

This commit is contained in:
tildearrow 2022-04-10 16:53:43 -05:00
parent 51207e58ad
commit 51761bc6df
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ void DivPlatformC64::tick() {
}
if (chan[i].std.duty.had) {
DivInstrument* ins=parent->getIns(chan[i].ins);
if (ins->std.dutyMacro.mode) {
if (ins->c64.dutyIsAbs) {
chan[i].duty=chan[i].std.duty.val;
} else {
chan[i].duty-=((signed char)chan[i].std.duty.val-12)*4;