mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
- pressing Home button while on sourceflow now returns you to the base tier or exits sourceflow. the plus button no longer does this. This also prevents access to the Home Menu while on sourceflow.
This commit is contained in:
parent
d37c032864
commit
497f283a5e
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 3.4 MiB |
@ -430,6 +430,17 @@ int CMenu::main(void)
|
||||
}
|
||||
}
|
||||
if(BTN_HOME_PRESSED || (BTN_A_PRESSED && m_btnMgr.selected(m_mainBtnHome)))
|
||||
{
|
||||
if(m_sourceflow)//back to base tier or exit sourceflow
|
||||
{
|
||||
if(!_srcTierBack(true))// if already on base tier exit sourceflow
|
||||
{
|
||||
m_sourceflow = false;
|
||||
_setMainBg();
|
||||
}
|
||||
_showCF(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
_hideMain();
|
||||
/* Home menu */
|
||||
@ -453,6 +464,7 @@ int CMenu::main(void)
|
||||
show_homebrew = !m_cfg.getBool(HOMEBREW_DOMAIN, "disable", false);
|
||||
_showMain();
|
||||
}
|
||||
}
|
||||
else if(BTN_A_PRESSED)
|
||||
{
|
||||
if(m_btnMgr.selected(m_mainBtnPrev))
|
||||
@ -644,15 +656,7 @@ int CMenu::main(void)
|
||||
else if(BTN_MINUS_PRESSED)
|
||||
CoverFlow.pageUp();
|
||||
else if(BTN_PLUS_PRESSED)
|
||||
{
|
||||
if(!m_sourceflow)
|
||||
CoverFlow.pageDown();
|
||||
else
|
||||
{
|
||||
_srcTierBack(true);// back to the 1st sourceflow tier
|
||||
_showCF(true);
|
||||
}
|
||||
}
|
||||
|
||||
/* change coverflow layout/mode */
|
||||
else if((BTN_1_PRESSED || BTN_2_PRESSED) && !CFLocked)
|
||||
|
Loading…
Reference in New Issue
Block a user