PCE: fix LFO a bit more

This commit is contained in:
tildearrow 2022-02-24 22:52:32 -05:00
parent 19c4f5559a
commit 70eb17c33c

View file

@ -211,7 +211,6 @@ void DivPlatformPCE::tick() {
if (dumpWrites) addWrite(0xffff0001+(i<<8),chan[i].dacRate); if (dumpWrites) addWrite(0xffff0001+(i<<8),chan[i].dacRate);
} }
if (chan[i].freq>4095) chan[i].freq=4095; if (chan[i].freq>4095) chan[i].freq=4095;
if (chan[i].note>0x5d) chan[i].freq=0x01;
chWrite(i,0x02,chan[i].freq&0xff); chWrite(i,0x02,chan[i].freq&0xff);
chWrite(i,0x03,chan[i].freq>>8); chWrite(i,0x03,chan[i].freq>>8);
if (chan[i].keyOn) { if (chan[i].keyOn) {