Have OPN* platforms set the correct YM2149 chip type.

They were setting the Sunsoft type, which doubled the frequency division since c5c612c354.
This commit is contained in:
Laurens Holst 2022-05-15 20:35:21 +02:00
parent c5c612c354
commit a292bc109d
4 changed files with 9 additions and 9 deletions

View file

@ -1454,7 +1454,7 @@ int DivPlatformYM2610::init(DivEngine* p, int channels, int sugRate, unsigned in
fm=new ymfm::ym2610(iface);
// YM2149, 2MHz
ay=new DivPlatformAY8910;
ay->init(p,3,sugRate,35);
ay->init(p,3,sugRate,19);
ay->toggleRegisterDump(true);
reset();
return 14;