Changed behavior of FurnaceGUI::play - explicitly providing 0 will
always play from the beginning of the pattern. Default argument of -1
will result in default behavior (play from beginning unless currently
stepping).
This commit is contained in:
--global 2024-10-01 11:15:54 -06:00 committed by freq-mod
parent f80dd764f3
commit 901bb110cc
3 changed files with 4 additions and 4 deletions

View file

@ -1229,7 +1229,7 @@ void FurnaceGUI::play(int row) {
memset(lastIns,-1,sizeof(int)*DIV_MAX_CHANS);
if (followPattern) makeCursorUndo();
if (!followPattern) e->setOrder(curOrder);
if (row>0) {
if (row>=0) {
if (!e->playToRow(row)) {
showError(_("the song is over!"));
}