dear tildearrow are you drunk or what?

This commit is contained in:
tildearrow 2022-02-15 17:22:09 -05:00
parent b24c572632
commit 647f2f96b0
4 changed files with 14 additions and 11 deletions

View file

@ -209,7 +209,7 @@ void DivPlatformPCE::tick() {
off=8363.0/(double)s->centerRate;
}
}
chan[i].dacRate=((double)chipClock/2)/MIN(1,off*chan[i].freq);
chan[i].dacRate=((double)chipClock/2)/MAX(1,off*chan[i].freq);
if (dumpWrites) addWrite(0xffff0001+(i<<8),chan[i].dacRate);
}
if (chan[i].freq>4095) chan[i].freq=4095;