mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-04 18:27:25 +00:00
Fix possible issue when bank flag is changed
This commit is contained in:
parent
c69318b222
commit
36f542972c
1 changed files with 4 additions and 0 deletions
|
@ -942,7 +942,11 @@ 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 a new issue