mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-03 17:57:26 +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;
|
||||
rate=chipClock/512;
|
||||
stereo=flags.getBool("stereo",false);
|
||||
bool prevBanked=isBanked;
|
||||
isBanked=flags.getBool("isBanked",false);
|
||||
if (prevBanked|=isBanked) {
|
||||
parent->renderSamples();
|
||||
}
|
||||
for (int i=0; i<16; i++) {
|
||||
oscBuf[i]->rate=rate;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue