AY: fix half clock divider

This commit is contained in:
tildearrow 2024-03-17 17:11:12 -05:00
parent 016b63493b
commit 504b77a5fd

View file

@ -879,10 +879,10 @@ void DivPlatformAY8910::setFlags(const DivConfig& flags) {
if (ay!=NULL) delete ay;
switch (flags.getInt("chipType",0)) {
case 1:
clockSel=flags.getBool("halfClock",false);
ay=new ym2149_device(rate,clockSel);
sunsoft=false;
intellivision=false;
clockSel=flags.getBool("halfClock",false);
break;
case 2:
ay=new sunsoft_5b_sound_device(rate);