mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 19:01:56 +01:00
-added homebrew channel 1.1.1 support
-fixed the exit to option usage in the global settings
This commit is contained in:
parent
f05f2881db
commit
5028f33930
@ -137,7 +137,7 @@ void Channels::GetBanner(u64 title, bool imetOnly)
|
|||||||
u32 cid;
|
u32 cid;
|
||||||
if(!GetAppNameFromTmd(title, app, false, &cid))
|
if(!GetAppNameFromTmd(title, app, false, &cid))
|
||||||
{
|
{
|
||||||
gprintf("No title found\n");
|
gprintf("No title found for %08x %08x\n", (u32)(title&0xFFFFFFFF),(u32)(title>>32));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
CurrentBanner.GetBanner(title, app, true, imetOnly);
|
CurrentBanner.GetBanner(title, app, true, imetOnly);
|
||||||
|
@ -112,6 +112,7 @@ void Sys_Exit(void)
|
|||||||
IOS_ReloadIOS(0xfe);
|
IOS_ReloadIOS(0xfe);
|
||||||
else if(ExitOption == EXIT_TO_HBC)
|
else if(ExitOption == EXIT_TO_HBC)
|
||||||
{
|
{
|
||||||
|
WII_LaunchTitle(HBC_LULZ);
|
||||||
WII_LaunchTitle(HBC_108);
|
WII_LaunchTitle(HBC_108);
|
||||||
WII_LaunchTitle(HBC_JODI);
|
WII_LaunchTitle(HBC_JODI);
|
||||||
WII_LaunchTitle(HBC_HAXX);
|
WII_LaunchTitle(HBC_HAXX);
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
#define HBC_LULZ 0x000100014c554c5aULL
|
||||||
#define HBC_108 0x00010001af1bf516ULL
|
#define HBC_108 0x00010001af1bf516ULL
|
||||||
#define HBC_JODI 0x0001000148415858ULL
|
#define HBC_JODI 0x0001000148415858ULL
|
||||||
#define HBC_HAXX 0x000100014a4f4449ULL
|
#define HBC_HAXX 0x000100014a4f4449ULL
|
||||||
@ -25,6 +26,7 @@ enum
|
|||||||
EXIT_TO_WFNK2O,
|
EXIT_TO_WFNK2O,
|
||||||
EXIT_TO_SMNK2O,
|
EXIT_TO_SMNK2O,
|
||||||
BUTTON_CALLBACK,
|
BUTTON_CALLBACK,
|
||||||
|
WIIFLOW_DEF,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Prototypes */
|
/* Prototypes */
|
||||||
|
@ -92,7 +92,7 @@ bool CMenu::_Home(void)
|
|||||||
{
|
{
|
||||||
_hideHome();
|
_hideHome();
|
||||||
if(m_locked)
|
if(m_locked)
|
||||||
exitHandler(PRIILOADER_DEF);
|
exitHandler(WIIFLOW_DEF);
|
||||||
else
|
else
|
||||||
_ExitTo();
|
_ExitTo();
|
||||||
if(m_exit)
|
if(m_exit)
|
||||||
@ -102,7 +102,7 @@ bool CMenu::_Home(void)
|
|||||||
}
|
}
|
||||||
else if(BTN_HOME_PRESSED)
|
else if(BTN_HOME_PRESSED)
|
||||||
{
|
{
|
||||||
exitHandler(PRIILOADER_DEF);
|
exitHandler(WIIFLOW_DEF);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if(BTN_B_PRESSED)
|
else if(BTN_B_PRESSED)
|
||||||
@ -163,7 +163,7 @@ bool CMenu::_ExitTo(void)
|
|||||||
}
|
}
|
||||||
else if(BTN_HOME_PRESSED)
|
else if(BTN_HOME_PRESSED)
|
||||||
{
|
{
|
||||||
exitHandler(PRIILOADER_DEF);
|
exitHandler(WIIFLOW_DEF);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if(BTN_B_PRESSED)
|
else if(BTN_B_PRESSED)
|
||||||
|
@ -215,7 +215,8 @@ void CMenu::exitHandler(int ExitTo)
|
|||||||
stat("sd:/bootmii/ppcboot.elf", &dummy) != 0)
|
stat("sd:/bootmii/ppcboot.elf", &dummy) != 0)
|
||||||
ExitTo = EXIT_TO_HBC;
|
ExitTo = EXIT_TO_HBC;
|
||||||
}
|
}
|
||||||
Sys_ExitTo(ExitTo);
|
if(ExitTo != WIIFLOW_DEF)
|
||||||
|
Sys_ExitTo(ExitTo);
|
||||||
}
|
}
|
||||||
|
|
||||||
int CMenu::main(void)
|
int CMenu::main(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user