From f3973a5ff5c85dc930449a71983fa33ac062483a Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 22 Dec 2022 19:47:13 -0500 Subject: [PATCH] POKEY: make ASAP core the default --- src/engine/dispatchContainer.cpp | 2 +- src/gui/gui.h | 2 +- src/gui/settings.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/dispatchContainer.cpp b/src/engine/dispatchContainer.cpp index 161aa4e1c..668864ae3 100644 --- a/src/engine/dispatchContainer.cpp +++ b/src/engine/dispatchContainer.cpp @@ -341,7 +341,7 @@ void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, do break; case DIV_SYSTEM_POKEY: dispatch=new DivPlatformPOKEY; - ((DivPlatformPOKEY*)dispatch)->setAltASAP(eng->getConfInt("pokeyCore",0)==1); + ((DivPlatformPOKEY*)dispatch)->setAltASAP(eng->getConfInt("pokeyCore",1)==1); break; case DIV_SYSTEM_QSOUND: dispatch=new DivPlatformQSound; diff --git a/src/gui/gui.h b/src/gui/gui.h index 2b7a2be45..cd2c32477 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -1311,7 +1311,7 @@ class FurnaceGUI { nesCore(0), fdsCore(0), c64Core(1), - pokeyCore(0), + pokeyCore(1), pcSpeakerOutMethod(0), yrw801Path(""), tg100Path(""), diff --git a/src/gui/settings.cpp b/src/gui/settings.cpp index 9f7de2aef..41e87d199 100644 --- a/src/gui/settings.cpp +++ b/src/gui/settings.cpp @@ -2345,7 +2345,7 @@ void FurnaceGUI::syncSettings() { settings.nesCore=e->getConfInt("nesCore",0); settings.fdsCore=e->getConfInt("fdsCore",0); settings.c64Core=e->getConfInt("c64Core",1); - settings.pokeyCore=e->getConfInt("pokeyCore",0); + settings.pokeyCore=e->getConfInt("pokeyCore",1); settings.pcSpeakerOutMethod=e->getConfInt("pcSpeakerOutMethod",0); settings.yrw801Path=e->getConfString("yrw801Path",""); settings.tg100Path=e->getConfString("tg100Path",""); @@ -2616,7 +2616,7 @@ void FurnaceGUI::commitSettings() { settings.nesCore!=e->getConfInt("nesCore",0) || settings.fdsCore!=e->getConfInt("fdsCore",0) || settings.c64Core!=e->getConfInt("c64Core",1) || - settings.pokeyCore!=e->getConfInt("pokeyCore",0) + settings.pokeyCore!=e->getConfInt("pokeyCore",1) ); e->setConf("mainFontSize",settings.mainFontSize);