Reload on crashes

This commit is contained in:
wiidev 2023-02-16 23:40:01 +00:00
parent f2c91f208e
commit e2098ad049

View File

@ -23,6 +23,7 @@
CONFIG gConfig;
// Prototypes
extern void __exception_setreload(int t);
extern u32 WaitButtons (void);
void CheckPassword (void);
void SetDefaultConfig (void);
@ -146,6 +147,8 @@ void Disclaimer(void)
int main(int argc, char **argv)
{
__exception_setreload(10);
ES_GetBoot2Version(&boot2version);
if(!AHBPROT_DISABLED)
{
@ -156,6 +159,7 @@ int main(int argc, char **argv)
if(!loadIOS(249)) loadIOS(36);
}
}
/* Initialize subsystems */
Sys_Init();