1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-12-26 19:36:03 +00:00

remove pauses

This commit is contained in:
suchmememanyskill 2021-07-24 23:05:09 +02:00
parent f48447f9f5
commit 5b981bb144
2 changed files with 1 additions and 13 deletions

View file

@ -50,4 +50,4 @@ dump={
}
fi=con.files dump()
f=1 fi=con.folders dump()
p("\nDone! Took",timer()-t/1000,"s")
p("\nDone! Took",timer()-t/1000,"s")pause()

View file

@ -83,9 +83,6 @@ void RunScriptString(char *str, u32 size){
exitFunction(ret.main.operations.data, ret.main.operations.count);
vecFree(ret.staticVarHolder);
vecFree(ret.main.operations);
hidWait();
hidWait();
}
void RunScript(char *path, FSEntry_t entry){
@ -114,25 +111,16 @@ void RunScript(char *path, FSEntry_t entry){
lexarVectorClear(&ctx.script);
*/
gfx_printf("Parsing\n");
ParserRet_t ret = parseScript(script, size);
free(script);
gfx_printf("Init vars\n");
setStaticVars(&ret.staticVarHolder);
initRuntimeVars();
gfx_printf("start script\n");
Variable_t* res = eval(ret.main.operations.data, ret.main.operations.count, 1);
exitRuntimeVars();
exitStaticVars(&ret.staticVarHolder);
exitFunction(ret.main.operations.data, ret.main.operations.count);
vecFree(ret.staticVarHolder);
vecFree(ret.main.operations);
hidWait();
hidWait();
hidWait();
}
void RenameFile(char *path, FSEntry_t entry){