diff --git a/src/engine/platform/opl.cpp b/src/engine/platform/opl.cpp index 040c8035f..3e222eec1 100644 --- a/src/engine/platform/opl.cpp +++ b/src/engine/platform/opl.cpp @@ -1067,6 +1067,11 @@ void DivPlatformOPL::setFlags(unsigned int flags) { chipClock=COLOR_NTSC; rate=chipClock/72; } + + if (pretendYMU) { + rate=48000; + chipClock=rate*288; + } } int DivPlatformOPL::init(DivEngine* p, int channels, int sugRate, unsigned int flags) {