dev80 - increase song limits
up to 256 patterns up to 256 orders
This commit is contained in:
parent
ff0c1f427f
commit
9e0e8f3345
11 changed files with 54 additions and 22 deletions
|
|
@ -122,7 +122,7 @@ void FurnaceGUI::drawSongInfo() {
|
|||
int ordLen=e->song.ordersLen;
|
||||
if (ImGui::InputInt("##OrdLength",&ordLen,1,3)) { MARK_MODIFIED
|
||||
if (ordLen<1) ordLen=1;
|
||||
if (ordLen>127) ordLen=127;
|
||||
if (ordLen>256) ordLen=256;
|
||||
e->song.ordersLen=ordLen;
|
||||
if (e->getOrder()>=ordLen) {
|
||||
e->setOrder(ordLen-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue