POKEY: fix setFlags() crash with altASAP
This commit is contained in:
parent
d78ffa60cc
commit
4584b8aa82
|
@ -455,6 +455,7 @@ void DivPlatformPOKEY::setFlags(const DivConfig& flags) {
|
||||||
oscBuf[i]->rate=rate/2;
|
oscBuf[i]->rate=rate/2;
|
||||||
}
|
}
|
||||||
altASAP.init(chipClock,rate);
|
altASAP.init(chipClock,rate);
|
||||||
|
altASAP.reset();
|
||||||
} else {
|
} else {
|
||||||
rate=chipClock;
|
rate=chipClock;
|
||||||
for (int i=0; i<4; i++) {
|
for (int i=0; i<4; i++) {
|
||||||
|
|
Loading…
Reference in New Issue