mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-25 19:31:58 +01:00
- added 'back_tier' as a source menu button option. in case you would like to show a up or back arrow to return to previous tier.
- changed 'source menu on start' to always start on base tier.
This commit is contained in:
parent
60e231e43f
commit
e68197246c
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.6 MiB After Width: | Height: | Size: 3.6 MiB |
@ -405,6 +405,13 @@ bool CMenu::init(bool usb_mounted)
|
|||||||
MusicPlayer.Init(m_cfg, m_musicDir, fmt("%s/music", m_themeDataDir.c_str()));
|
MusicPlayer.Init(m_cfg, m_musicDir, fmt("%s/music", m_themeDataDir.c_str()));
|
||||||
m_music_info = m_cfg.getBool("GENERAL", "display_music_info", false);
|
m_music_info = m_cfg.getBool("GENERAL", "display_music_info", false);
|
||||||
|
|
||||||
|
/* Source Menu on start reset tiers before buid menus */
|
||||||
|
if(m_cfg.getBool("GENERAL", "source_on_start", false))
|
||||||
|
{
|
||||||
|
m_cfg.remove(SOURCEFLOW_DOMAIN, "tiers");
|
||||||
|
m_cfg.remove(SOURCEFLOW_DOMAIN, "numbers");
|
||||||
|
}
|
||||||
|
|
||||||
/* Init Button Manager and build the menus */
|
/* Init Button Manager and build the menus */
|
||||||
_buildMenus();
|
_buildMenus();
|
||||||
|
|
||||||
|
@ -132,6 +132,11 @@ void CMenu::_sourceFlow()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(source == "back_tier")
|
||||||
|
{
|
||||||
|
_srcTierBack(false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
else //(source == "wii")
|
else //(source == "wii")
|
||||||
m_current_view = COVERFLOW_WII;
|
m_current_view = COVERFLOW_WII;
|
||||||
m_sourceflow = false;
|
m_sourceflow = false;
|
||||||
@ -477,6 +482,12 @@ bool CMenu::_Source()
|
|||||||
_updateSourceBtns();
|
_updateSourceBtns();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(source == "back_tier")
|
||||||
|
{
|
||||||
|
exitSource = false;
|
||||||
|
_srcTierBack(false);
|
||||||
|
_updateSourceBtns();
|
||||||
|
}
|
||||||
else //if(source == "wii") or source is invalid or empty default to wii
|
else //if(source == "wii") or source is invalid or empty default to wii
|
||||||
{
|
{
|
||||||
m_current_view = COVERFLOW_WII;
|
m_current_view = COVERFLOW_WII;
|
||||||
|
Loading…
Reference in New Issue
Block a user