initialize selCore...

maybe issue #2180
This commit is contained in:
tildearrow 2024-10-24 03:22:18 -05:00
parent c20a839871
commit 0e70439d68
3 changed files with 3 additions and 0 deletions

View file

@ -1398,6 +1398,7 @@ int DivPlatformYM2203::init(DivEngine* p, int channels, int sugRate, const DivCo
fm->set_fidelity(ymfm::OPN_FIDELITY_MIN);
// YM2149, 2MHz
ay=new DivPlatformAY8910(true,chipClock,ayDiv);
ay->setCore(0);
ay->init(p,3,sugRate,ayFlags);
ay->toggleRegisterDump(true);
setFlags(flags);

View file

@ -2036,6 +2036,7 @@ int DivPlatformYM2608::init(DivEngine* p, int channels, int sugRate, const DivCo
fm->set_fidelity(ymfm::OPN_FIDELITY_MIN);
// YM2149, 2MHz
ay=new DivPlatformAY8910(true,chipClock,ayDiv,48);
ay->setCore(0);
ay->init(p,3,sugRate,ayFlags);
ay->toggleRegisterDump(true);
setFlags(flags);

View file

@ -348,6 +348,7 @@ class DivPlatformYM2610Base: public DivPlatformOPN {
setFlags(flags);
// YM2149, 2MHz
ay=new DivPlatformAY8910(true,chipClock,32,144);
ay->setCore(0);
ay->init(p,3,sugRate,ayFlags);
ay->toggleRegisterDump(true);
return 0;