mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-22 11:56:42 +00:00
fuk
This commit is contained in:
parent
f5623a4fdc
commit
987b7e8765
1 changed files with 3 additions and 1 deletions
|
@ -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));
|
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)
|
if (res < MainScripts && mainMenuPaths[res] != NULL)
|
||||||
mainMenuPaths[res]();
|
mainMenuPaths[res]();
|
||||||
|
#ifndef INCLUDE_BUILTIN_SCRIPTS
|
||||||
else if (hasScripts){
|
else if (hasScripts){
|
||||||
#ifdef INCLUDE_BUILTIN_SCRIPTS
|
#else
|
||||||
|
else {
|
||||||
if (res - ARRAY_SIZE(mainMenuEntries) < EMBEDDED_SCRIPTS_LEN){
|
if (res - ARRAY_SIZE(mainMenuEntries) < EMBEDDED_SCRIPTS_LEN){
|
||||||
char *script = embedded_scripts_g[res - ARRAY_SIZE(mainMenuEntries)].script;
|
char *script = embedded_scripts_g[res - ARRAY_SIZE(mainMenuEntries)].script;
|
||||||
RunScriptString(script, strlen(script));
|
RunScriptString(script, strlen(script));
|
||||||
|
|
Loading…
Reference in a new issue