fix .dnm and .eft loading

This commit is contained in:
tildearrow 2024-03-16 12:16:09 -05:00
parent 92b1c95259
commit 845eb582a6
5 changed files with 24 additions and 6 deletions

View file

@ -2215,7 +2215,7 @@ int FurnaceGUI::load(String path) {
return 1;
}
fclose(f);
if (!e->load(file,(size_t)len)) {
if (!e->load(file,(size_t)len,path.c_str())) {
lastError=e->getLastError();
logE("could not open file!");
return 1;