AY: fix chan osc

issue #2235
This commit is contained in:
tildearrow 2024-11-10 05:38:19 -05:00
parent 39a5408e4e
commit 99e3c3fa33

View file

@ -1106,9 +1106,6 @@ void DivPlatformAY8910::setFlags(const DivConfig& flags) {
} }
CHECK_CUSTOM_CLOCK; CHECK_CUSTOM_CLOCK;
} }
for (int i=0; i<3; i++) {
oscBuf[i]->rate=rate;
}
if (ay!=NULL) delete ay; if (ay!=NULL) delete ay;
switch (flags.getInt("chipType",0)) { switch (flags.getInt("chipType",0)) {
@ -1156,6 +1153,10 @@ void DivPlatformAY8910::setFlags(const DivConfig& flags) {
dacRate=rate; dacRate=rate;
} }
for (int i=0; i<3; i++) {
oscBuf[i]->rate=rate;
}
stereo=flags.getBool("stereo",false); stereo=flags.getBool("stereo",false);
stereoSep=flags.getInt("stereoSep",0)&255; stereoSep=flags.getInt("stereoSep",0)&255;
} }