don't pause script on exit except on error
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user