Improvements to script control

This commit is contained in:
Such Meme, Many Skill
2020-05-02 23:35:25 +02:00
parent baac8dc2fb
commit acb43b67db
3 changed files with 9 additions and 1 deletions

View File

@@ -191,6 +191,10 @@ int filemenu(menu_entry file){
break;
case FILE_SCRIPT:
//ParseScript(fsutil_getnextloc(currentpath, file.name));
gfx_printf(" %kRelease any buttons if held!", COLOR_RED);
while (hidRead()->buttons);
runScript(fsutil_getnextloc(currentpath, file.name));
fsreader_readfolder(currentpath);
break;