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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user