mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-29 11:01:27 +00:00
fix critical bug when removing systems
This commit is contained in:
parent
32cdeb108f
commit
1642f29df8
1 changed files with 1 additions and 1 deletions
|
@ -2750,7 +2750,7 @@ bool DivEngine::removeSystem(int index) {
|
|||
song.system[index]=DIV_SYSTEM_NULL;
|
||||
song.systemLen--;
|
||||
for (int i=index; i<song.systemLen; i++) {
|
||||
song.system[index]=song.system[index+1];
|
||||
song.system[i]=song.system[i+1];
|
||||
}
|
||||
recalcChans();
|
||||
isBusy.unlock();
|
||||
|
|
Loading…
Reference in a new issue