Divider related emulation core update, Fix init and period limitation

This commit is contained in:
cam900 2022-05-10 13:18:02 +09:00
parent a9a249fd4c
commit a8258d9a1a
5 changed files with 36 additions and 30 deletions

View file

@ -639,7 +639,7 @@ void DivPlatformAY8910::setFlags(unsigned int flags) {
if (ay!=NULL) delete ay;
switch ((flags>>4)&3) {
case 1:
ay=new ym2149_device(rate);
ay=new ym2149_device(rate,clockSel);
sunsoft=false;
intellivision=false;
break;
@ -660,7 +660,6 @@ void DivPlatformAY8910::setFlags(unsigned int flags) {
break;
}
ay->device_start();
ay->set_clock_sel(clockSel);
stereo=(flags>>6)&1;
}