Remove global rendersamples
This commit is contained in:
parent
e0dc22a6f1
commit
8ad7a5bf7d
|
@ -942,11 +942,7 @@ void DivPlatformX1_010::setFlags(const DivConfig& flags) {
|
||||||
CHECK_CUSTOM_CLOCK;
|
CHECK_CUSTOM_CLOCK;
|
||||||
rate=chipClock/512;
|
rate=chipClock/512;
|
||||||
stereo=flags.getBool("stereo",false);
|
stereo=flags.getBool("stereo",false);
|
||||||
bool prevBanked=isBanked;
|
|
||||||
isBanked=flags.getBool("isBanked",false);
|
isBanked=flags.getBool("isBanked",false);
|
||||||
if (prevBanked!=isBanked) {
|
|
||||||
parent->renderSamples();
|
|
||||||
}
|
|
||||||
for (int i=0; i<16; i++) {
|
for (int i=0; i<16; i++) {
|
||||||
oscBuf[i]->rate=rate;
|
oscBuf[i]->rate=rate;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue