Applying notes.

This commit is contained in:
Waldemar Pawlaszek 2022-12-23 07:43:51 +01:00
parent e5e3a83302
commit 35ac14d35b

View file

@ -456,7 +456,6 @@ void DivPlatformPOKEY::setFlags(const DivConfig& flags) {
}
altASAP.init(chipClock,rate);
} else {
MZPOKEYSND_Init(&pokey);
rate=chipClock;
for (int i=0; i<4; i++) {
oscBuf[i]->rate=rate/14;
@ -482,6 +481,10 @@ int DivPlatformPOKEY::init(DivEngine* p, int channels, int sugRate, const DivCon
oscBuf[i]=new DivDispatchOscBuffer;
}
if (!useAltASAP) {
MZPOKEYSND_Init(&pokey);
}
setFlags(flags);
reset();
return 6;