From 5b981bb144f3025107ef282b7140077199d2ded5 Mon Sep 17 00:00:00 2001 From: suchmememanyskill Date: Sat, 24 Jul 2021 23:05:09 +0200 Subject: [PATCH] remove pauses --- scripts/FirmwareDump.te | 2 +- source/fs/menus/filemenu.c | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/scripts/FirmwareDump.te b/scripts/FirmwareDump.te index d3649b9..bc31922 100644 --- a/scripts/FirmwareDump.te +++ b/scripts/FirmwareDump.te @@ -50,4 +50,4 @@ dump={ } fi=con.files dump() f=1 fi=con.folders dump() -p("\nDone! Took",timer()-t/1000,"s") \ No newline at end of file +p("\nDone! Took",timer()-t/1000,"s")pause() \ No newline at end of file diff --git a/source/fs/menus/filemenu.c b/source/fs/menus/filemenu.c index 207cd88..c46e376 100644 --- a/source/fs/menus/filemenu.c +++ b/source/fs/menus/filemenu.c @@ -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){