mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-02 09:17:26 +00:00
parent
c20a839871
commit
0e70439d68
3 changed files with 3 additions and 0 deletions
|
@ -1398,6 +1398,7 @@ int DivPlatformYM2203::init(DivEngine* p, int channels, int sugRate, const DivCo
|
||||||
fm->set_fidelity(ymfm::OPN_FIDELITY_MIN);
|
fm->set_fidelity(ymfm::OPN_FIDELITY_MIN);
|
||||||
// YM2149, 2MHz
|
// YM2149, 2MHz
|
||||||
ay=new DivPlatformAY8910(true,chipClock,ayDiv);
|
ay=new DivPlatformAY8910(true,chipClock,ayDiv);
|
||||||
|
ay->setCore(0);
|
||||||
ay->init(p,3,sugRate,ayFlags);
|
ay->init(p,3,sugRate,ayFlags);
|
||||||
ay->toggleRegisterDump(true);
|
ay->toggleRegisterDump(true);
|
||||||
setFlags(flags);
|
setFlags(flags);
|
||||||
|
|
|
@ -2036,6 +2036,7 @@ int DivPlatformYM2608::init(DivEngine* p, int channels, int sugRate, const DivCo
|
||||||
fm->set_fidelity(ymfm::OPN_FIDELITY_MIN);
|
fm->set_fidelity(ymfm::OPN_FIDELITY_MIN);
|
||||||
// YM2149, 2MHz
|
// YM2149, 2MHz
|
||||||
ay=new DivPlatformAY8910(true,chipClock,ayDiv,48);
|
ay=new DivPlatformAY8910(true,chipClock,ayDiv,48);
|
||||||
|
ay->setCore(0);
|
||||||
ay->init(p,3,sugRate,ayFlags);
|
ay->init(p,3,sugRate,ayFlags);
|
||||||
ay->toggleRegisterDump(true);
|
ay->toggleRegisterDump(true);
|
||||||
setFlags(flags);
|
setFlags(flags);
|
||||||
|
|
|
@ -348,6 +348,7 @@ class DivPlatformYM2610Base: public DivPlatformOPN {
|
||||||
setFlags(flags);
|
setFlags(flags);
|
||||||
// YM2149, 2MHz
|
// YM2149, 2MHz
|
||||||
ay=new DivPlatformAY8910(true,chipClock,32,144);
|
ay=new DivPlatformAY8910(true,chipClock,32,144);
|
||||||
|
ay->setCore(0);
|
||||||
ay->init(p,3,sugRate,ayFlags);
|
ay->init(p,3,sugRate,ayFlags);
|
||||||
ay->toggleRegisterDump(true);
|
ay->toggleRegisterDump(true);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue