mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 19:59:16 +01:00
-display source menu instead of exit wiiflow when pressing
on home icon (untested)
This commit is contained in:
parent
fd6c7bd2d6
commit
550b6867d0
@ -571,23 +571,10 @@ int CMenu::main(void)
|
||||
m_cf.pageDown();
|
||||
else if(m_btnMgr.selected(m_mainBtnQuit))
|
||||
{
|
||||
if(!m_locked && !m_disable_exit)
|
||||
{
|
||||
struct stat dummy;
|
||||
if(BTN_PLUS_HELD) Sys_ExitTo(EXIT_TO_HBC);
|
||||
else if(BTN_MINUS_HELD) Sys_ExitTo(EXIT_TO_MENU);
|
||||
else if(BTN_1_HELD) Sys_ExitTo(EXIT_TO_PRIILOADER);
|
||||
else if(BTN_2_HELD) //Check that the files are there, or ios will hang.
|
||||
{
|
||||
if(DeviceHandler::Instance()->IsInserted(SD) &&
|
||||
stat(fmt("%s:/bootmii/armboot.bin", DeviceName[SD]), &dummy) == 0 &&
|
||||
stat(fmt("%s:/bootmii/ppcboot.elf", DeviceName[SD]), &dummy) == 0)
|
||||
Sys_ExitTo(EXIT_TO_BOOTMII);
|
||||
else Sys_ExitTo(EXIT_TO_HBC);
|
||||
}
|
||||
}
|
||||
m_reload = (BTN_B_HELD || m_disable_exit);
|
||||
break;
|
||||
_hideMain(true);
|
||||
_Source();
|
||||
LoadView();
|
||||
continue;
|
||||
}
|
||||
else if(m_btnMgr.selected(m_mainBtnChannel) || m_btnMgr.selected(m_mainBtnUsb) || m_btnMgr.selected(m_mainBtnDML) || m_btnMgr.selected(m_mainBtnHomebrew) || m_btnMgr.selected(m_mainBtnEmu))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user