parent
f7d1cc74c9
commit
38e8327f0d
|
@ -2461,7 +2461,11 @@ void DivPlatformOPL::setFlags(const DivConfig& flags) {
|
||||||
switch (flags.getInt("chipType",0)) {
|
switch (flags.getInt("chipType",0)) {
|
||||||
case 1: // YMF289B
|
case 1: // YMF289B
|
||||||
chipFreqBase=32768*684;
|
chipFreqBase=32768*684;
|
||||||
|
if (emuCore==2) {
|
||||||
|
rate=chipClock/684;
|
||||||
|
} else {
|
||||||
rate=chipClock/768;
|
rate=chipClock/768;
|
||||||
|
}
|
||||||
chipRateBase=chipClock/684;
|
chipRateBase=chipClock/684;
|
||||||
downsample=true;
|
downsample=true;
|
||||||
totalOutputs=2; // Stereo output only
|
totalOutputs=2; // Stereo output only
|
||||||
|
|
|
@ -82,6 +82,7 @@ class DivPlatformOPL: public DivDispatch {
|
||||||
bool lastSH2;
|
bool lastSH2;
|
||||||
bool lastSY;
|
bool lastSY;
|
||||||
bool waitingBusy;
|
bool waitingBusy;
|
||||||
|
int downsamplerStep;
|
||||||
|
|
||||||
unsigned char* adpcmBMem;
|
unsigned char* adpcmBMem;
|
||||||
size_t adpcmBMemLen;
|
size_t adpcmBMemLen;
|
||||||
|
|
Loading…
Reference in a new issue