Lynx: set freqChanged to false!

This commit is contained in:
tildearrow 2022-04-16 00:39:03 -05:00
parent d0c76e020c
commit af41e56acc

View file

@ -184,8 +184,8 @@ void DivPlatformLynx::tick(bool sysTick) {
} }
WRITE_CONTROL(i, (chan[i].fd.clockDivider|0x18|chan[i].duty.int_feedback7)); WRITE_CONTROL(i, (chan[i].fd.clockDivider|0x18|chan[i].duty.int_feedback7));
WRITE_BACKUP( i, chan[i].fd.backup ); WRITE_BACKUP( i, chan[i].fd.backup );
} chan[i].freqChanged=false;
else if (chan[i].std.duty.had) { } else if (chan[i].std.duty.had) {
chan[i].duty = chan[i].std.duty.val; chan[i].duty = chan[i].std.duty.val;
WRITE_FEEDBACK(i, chan[i].duty.feedback); WRITE_FEEDBACK(i, chan[i].duty.feedback);
WRITE_CONTROL(i, (chan[i].fd.clockDivider|0x18|chan[i].duty.int_feedback7)); WRITE_CONTROL(i, (chan[i].fd.clockDivider|0x18|chan[i].duty.int_feedback7));