force POKEY freq recalc when changing wave with an effect

Useful for keeping stable waves!
This commit is contained in:
LTVA1 2024-02-26 21:46:14 +03:00 committed by tildearrow
parent 9d7112464a
commit e98c32f808

View file

@ -321,6 +321,7 @@ int DivPlatformPOKEY::dispatch(DivCommand c) {
case DIV_CMD_WAVE:
chan[c.chan].wave=c.value;
chan[c.chan].ctlChanged=true;
chan[c.chan].freqChanged=true; //round freq for specific waves
break;
case DIV_CMD_STD_NOISE_MODE:
audctl=c.value&0xff;