mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-09 13:41:45 +00:00
don't pause script on exit except on error
This commit is contained in:
parent
9447256934
commit
e98a3bba68
2 changed files with 3 additions and 3 deletions
|
@ -93,9 +93,6 @@ void RunScript(char *path, FSEntry_t entry){
|
||||||
|
|
||||||
freeDictVector(&ctx.varDict);
|
freeDictVector(&ctx.varDict);
|
||||||
lexarVectorClear(&ctx.script);
|
lexarVectorClear(&ctx.script);
|
||||||
|
|
||||||
gfx_printf("\nScript done!\nPress any key");
|
|
||||||
hidWait();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RenameFile(char *path, FSEntry_t entry){
|
void RenameFile(char *path, FSEntry_t entry){
|
||||||
|
|
|
@ -123,5 +123,8 @@ void printError(scriptResult_t res) {
|
||||||
for (int i = 0; i < res.len; i++) {
|
for (int i = 0; i < res.len; i++) {
|
||||||
printToken(&res.nearToken[i]);
|
printToken(&res.nearToken[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gfx_printf("\nPress any key to exit");
|
||||||
|
hidWait();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue