diff --git a/src/engine/platform/ay.cpp b/src/engine/platform/ay.cpp index 4b30e85be..9331c6a19 100644 --- a/src/engine/platform/ay.cpp +++ b/src/engine/platform/ay.cpp @@ -1106,9 +1106,6 @@ void DivPlatformAY8910::setFlags(const DivConfig& flags) { } CHECK_CUSTOM_CLOCK; } - for (int i=0; i<3; i++) { - oscBuf[i]->rate=rate; - } if (ay!=NULL) delete ay; switch (flags.getInt("chipType",0)) { @@ -1156,6 +1153,10 @@ void DivPlatformAY8910::setFlags(const DivConfig& flags) { dacRate=rate; } + for (int i=0; i<3; i++) { + oscBuf[i]->rate=rate; + } + stereo=flags.getBool("stereo",false); stereoSep=flags.getInt("stereoSep",0)&255; }