mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 10:51:55 +01:00
-added b_on_mode_to_source option to wiiflow.ini. If set to yes pressing 'b' on mode/view icon will take you to the source menu.
This commit is contained in:
parent
7847704025
commit
f6cba49acc
@ -454,10 +454,22 @@ int CMenu::main(void)
|
||||
//Events to Switch off/on nand emu
|
||||
else if(m_btnMgr.selected(m_mainBtnChannel) || m_btnMgr.selected(m_mainBtnUsb) || m_btnMgr.selected(m_mainBtnDML)|| m_btnMgr.selected(m_mainBtnEmu) || m_btnMgr.selected(m_mainBtnHomebrew))
|
||||
{
|
||||
m_cfg.setBool("NAND", "disable", !m_cfg.getBool("NAND", "disable", true));
|
||||
gprintf("EmuNand is %s\n", m_cfg.getBool("NAND", "disable", true) ? "Disabled" : "Enabled");
|
||||
m_current_view = COVERFLOW_CHANNEL;
|
||||
LoadView();
|
||||
if(m_cfg.getBool("GENERAL", "b_on_mode_to_source", false))
|
||||
{
|
||||
_hideMain();
|
||||
if(!_Source()) //Different source selected
|
||||
LoadView();
|
||||
else
|
||||
_showMain();
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_cfg.setBool("NAND", "disable", !m_cfg.getBool("NAND", "disable", true));
|
||||
gprintf("EmuNand is %s\n", m_cfg.getBool("NAND", "disable", true) ? "Disabled" : "Enabled");
|
||||
m_current_view = COVERFLOW_CHANNEL;
|
||||
LoadView();
|
||||
}
|
||||
}
|
||||
else if(m_btnMgr.selected(m_mainBtnNext) || m_btnMgr.selected(m_mainBtnPrev))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user