mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-02-17 12:36:20 +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();
|
m_cf.pageDown();
|
||||||
else if(m_btnMgr.selected(m_mainBtnQuit))
|
else if(m_btnMgr.selected(m_mainBtnQuit))
|
||||||
{
|
{
|
||||||
if(!m_locked && !m_disable_exit)
|
_hideMain(true);
|
||||||
{
|
_Source();
|
||||||
struct stat dummy;
|
LoadView();
|
||||||
if(BTN_PLUS_HELD) Sys_ExitTo(EXIT_TO_HBC);
|
continue;
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
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))
|
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…
x
Reference in New Issue
Block a user