AY: fix half clock divider
This commit is contained in:
parent
016b63493b
commit
504b77a5fd
|
@ -879,10 +879,10 @@ void DivPlatformAY8910::setFlags(const DivConfig& flags) {
|
||||||
if (ay!=NULL) delete ay;
|
if (ay!=NULL) delete ay;
|
||||||
switch (flags.getInt("chipType",0)) {
|
switch (flags.getInt("chipType",0)) {
|
||||||
case 1:
|
case 1:
|
||||||
|
clockSel=flags.getBool("halfClock",false);
|
||||||
ay=new ym2149_device(rate,clockSel);
|
ay=new ym2149_device(rate,clockSel);
|
||||||
sunsoft=false;
|
sunsoft=false;
|
||||||
intellivision=false;
|
intellivision=false;
|
||||||
clockSel=flags.getBool("halfClock",false);
|
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ay=new sunsoft_5b_sound_device(rate);
|
ay=new sunsoft_5b_sound_device(rate);
|
||||||
|
|
Loading…
Reference in a new issue