-added homebrew channel 1.1.1 support

-fixed the exit to option usage in the global settings
This commit is contained in:
fix94.1 2012-12-07 22:40:16 +00:00
parent f05f2881db
commit 5028f33930
5 changed files with 9 additions and 5 deletions

View File

@ -137,7 +137,7 @@ void Channels::GetBanner(u64 title, bool imetOnly)
u32 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;
}
CurrentBanner.GetBanner(title, app, true, imetOnly);

View File

@ -112,6 +112,7 @@ void Sys_Exit(void)
IOS_ReloadIOS(0xfe);
else if(ExitOption == EXIT_TO_HBC)
{
WII_LaunchTitle(HBC_LULZ);
WII_LaunchTitle(HBC_108);
WII_LaunchTitle(HBC_JODI);
WII_LaunchTitle(HBC_HAXX);

View File

@ -8,6 +8,7 @@
extern "C" {
#endif /* __cplusplus */
#define HBC_LULZ 0x000100014c554c5aULL
#define HBC_108 0x00010001af1bf516ULL
#define HBC_JODI 0x0001000148415858ULL
#define HBC_HAXX 0x000100014a4f4449ULL
@ -25,6 +26,7 @@ enum
EXIT_TO_WFNK2O,
EXIT_TO_SMNK2O,
BUTTON_CALLBACK,
WIIFLOW_DEF,
};
/* Prototypes */

View File

@ -92,7 +92,7 @@ bool CMenu::_Home(void)
{
_hideHome();
if(m_locked)
exitHandler(PRIILOADER_DEF);
exitHandler(WIIFLOW_DEF);
else
_ExitTo();
if(m_exit)
@ -102,7 +102,7 @@ bool CMenu::_Home(void)
}
else if(BTN_HOME_PRESSED)
{
exitHandler(PRIILOADER_DEF);
exitHandler(WIIFLOW_DEF);
break;
}
else if(BTN_B_PRESSED)
@ -163,7 +163,7 @@ bool CMenu::_ExitTo(void)
}
else if(BTN_HOME_PRESSED)
{
exitHandler(PRIILOADER_DEF);
exitHandler(WIIFLOW_DEF);
break;
}
else if(BTN_B_PRESSED)

View File

@ -215,6 +215,7 @@ void CMenu::exitHandler(int ExitTo)
stat("sd:/bootmii/ppcboot.elf", &dummy) != 0)
ExitTo = EXIT_TO_HBC;
}
if(ExitTo != WIIFLOW_DEF)
Sys_ExitTo(ExitTo);
}