From 987b7e8765b65bdb93671eded48c401857e81b72 Mon Sep 17 00:00:00 2001 From: suchmememanyskill Date: Fri, 23 Jul 2021 16:19:32 +0200 Subject: [PATCH] fuk --- source/tegraexplorer/mainmenu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/tegraexplorer/mainmenu.c b/source/tegraexplorer/mainmenu.c index f78fdff..b9ec3f1 100644 --- a/source/tegraexplorer/mainmenu.c +++ b/source/tegraexplorer/mainmenu.c @@ -234,8 +234,10 @@ void EnterMainMenu(){ res = newMenu(&ent, res, 79, 30, (ent.count == ARRAY_SIZE(mainMenuEntries)) ? ALWAYSREDRAW : ALWAYSREDRAW | ENABLEPAGECOUNT, ent.count - ARRAY_SIZE(mainMenuEntries)); if (res < MainScripts && mainMenuPaths[res] != NULL) mainMenuPaths[res](); + #ifndef INCLUDE_BUILTIN_SCRIPTS else if (hasScripts){ - #ifdef INCLUDE_BUILTIN_SCRIPTS + #else + else { if (res - ARRAY_SIZE(mainMenuEntries) < EMBEDDED_SCRIPTS_LEN){ char *script = embedded_scripts_g[res - ARRAY_SIZE(mainMenuEntries)].script; RunScriptString(script, strlen(script));