POKEY: fix setFlags() crash with altASAP

This commit is contained in:
tildearrow 2022-12-25 03:36:30 -05:00
parent d78ffa60cc
commit 4584b8aa82

View file

@ -455,6 +455,7 @@ void DivPlatformPOKEY::setFlags(const DivConfig& flags) {
oscBuf[i]->rate=rate/2;
}
altASAP.init(chipClock,rate);
altASAP.reset();
} else {
rate=chipClock;
for (int i=0; i<4; i++) {