temporarily reduce channel limit to 63

thanks ImGui
This commit is contained in:
tildearrow 2022-01-19 18:24:37 -05:00
parent 9f6b8ed521
commit 0e346f5d73

View file

@ -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();