fix crash when changing chip
it was somehow possible to exceed the channel limit...
This commit is contained in:
parent
9dbb1f7371
commit
f0bf58eef2
4 changed files with 99 additions and 12 deletions
|
|
@ -1155,11 +1155,14 @@ class DivEngine {
|
|||
void delUnusedSamples();
|
||||
|
||||
// change system
|
||||
void changeSystem(int index, DivSystem which, bool preserveOrder=true);
|
||||
bool changeSystem(int index, DivSystem which, bool preserveOrder=true);
|
||||
|
||||
// add system
|
||||
bool addSystem(DivSystem which);
|
||||
|
||||
// duplicate system
|
||||
bool duplicateSystem(int index, bool pat=true, bool end=false);
|
||||
|
||||
// remove system
|
||||
bool removeSystem(int index, bool preserveOrder=true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue