mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
temporarily reduce channel limit to 63
thanks ImGui
This commit is contained in:
parent
9f6b8ed521
commit
0e346f5d73
1 changed files with 3 additions and 2 deletions
|
@ -2580,8 +2580,9 @@ bool DivEngine::addSystem(DivSystem which) {
|
||||||
lastError="cannot add more than 32";
|
lastError="cannot add more than 32";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (chans+getChannelCount(which)>DIV_MAX_CHANS) {
|
// this was DIV_MAX_CHANS but I am setting it to 63 for now due to an ImGui limitation
|
||||||
lastError="max number of total channels is 128";
|
if (chans+getChannelCount(which)>63) {
|
||||||
|
lastError="max number of total channels is 63";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
quitDispatch();
|
quitDispatch();
|
||||||
|
|
Loading…
Reference in a new issue