diff --git a/src/engine/platform/ay.cpp b/src/engine/platform/ay.cpp index f50234087..cb1708d52 100644 --- a/src/engine/platform/ay.cpp +++ b/src/engine/platform/ay.cpp @@ -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);