don't stop the song until it has been loaded
This commit is contained in:
parent
f24493efb6
commit
548fa2ad73
3 changed files with 11 additions and 5 deletions
|
|
@ -1821,15 +1821,10 @@ int FurnaceGUI::load(String path) {
|
|||
return 1;
|
||||
}
|
||||
fclose(f);
|
||||
e->quitDispatch();
|
||||
if (!e->load(file,(size_t)len)) {
|
||||
logE("could not open file!\n");
|
||||
e->initDispatch();
|
||||
e->syncReset();
|
||||
return 1;
|
||||
}
|
||||
e->initDispatch();
|
||||
e->syncReset();
|
||||
}
|
||||
updateWindowTitle();
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue