Save bytes, add screenshots into main and more

- Also run script on bootup if a script called startup.te is found on the root of the sd
- Saved bytes by just disabling making exfat partitions, lol
This commit is contained in:
suchmememanyskill
2021-01-10 00:10:28 +01:00
parent 5485f5ca06
commit 3f80693d9e
8 changed files with 18 additions and 9 deletions

View File

@@ -52,6 +52,9 @@
#include "keys/keys.h"
#include "keys/keyfile.h"
#include "storage/mountmanager.h"
#include "fs/fsutils.h"
#include "fs/fstypes.h"
#include "fs/menus/filemenu.h"
hekate_config h_cfg;
@@ -304,6 +307,10 @@ void ipl_main()
if (res == 0)
hidWait();
if (FileExists("sd:/startup.te"))
RunScript("sd:/", newFSEntry("startup.te"));
EnterMainMenu();
// Halt BPMP if we managed to get out of execution.