YMU759 samples at 48KHz

This commit is contained in:
tildearrow 2022-04-11 01:58:41 -05:00
parent 8a49522e59
commit 39784bc7c2

View file

@ -1067,6 +1067,11 @@ void DivPlatformOPL::setFlags(unsigned int flags) {
chipClock=COLOR_NTSC; chipClock=COLOR_NTSC;
rate=chipClock/72; rate=chipClock/72;
} }
if (pretendYMU) {
rate=48000;
chipClock=rate*288;
}
} }
int DivPlatformOPL::init(DivEngine* p, int channels, int sugRate, unsigned int flags) { int DivPlatformOPL::init(DivEngine* p, int channels, int sugRate, unsigned int flags) {