don't stop the song until it has been loaded

This commit is contained in:
tildearrow 2021-12-20 14:20:05 -05:00
parent f24493efb6
commit 548fa2ad73
3 changed files with 11 additions and 5 deletions

View file

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