From 504b77a5fdb3cbd9c20c0517a978be73cd31a465 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 17 Mar 2024 17:11:12 -0500 Subject: [PATCH] AY: fix half clock divider --- src/engine/platform/ay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);