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