re-enable startup.te

This commit is contained in:
suchmememanyskill 2021-07-30 23:11:57 +02:00
parent 3f30b6c027
commit aa82664187
2 changed files with 3 additions and 2 deletions

View File

@ -47,6 +47,7 @@ char *GetFileAttribs(FSEntry_t entry){
return ret;
}
// Returns 1 if a file exists, 0 if it does not
bool FileExists(const char* path){
FRESULT fr;
FILINFO fno;

View File

@ -308,8 +308,8 @@ void ipl_main()
if (res == 0)
hidWait();
//if (FileExists("sd:/startup.te"))
// RunScript("sd:/", newFSEntry("startup.te"));
if (FileExists("sd:/startup.te"))
RunScript("sd:/", newFSEntry("startup.te"));
EnterMainMenu();