mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
-parental lock fixes
This commit is contained in:
parent
2a0a2a3303
commit
3c9e16c35e
@ -84,7 +84,7 @@ void CMenu::_showConfig(void)
|
||||
_setBg(m_configBg, m_configBg);
|
||||
m_btnMgr.show(m_configLblTitle);
|
||||
m_btnMgr.show(m_configBtnBack);
|
||||
if (m_current_view != COVERFLOW_DML)
|
||||
if (m_current_view != COVERFLOW_DML && !m_locked)
|
||||
{
|
||||
m_btnMgr.show(m_configLblPartitionName);
|
||||
m_btnMgr.show(m_configLblPartition);
|
||||
@ -119,7 +119,7 @@ void CMenu::_showConfig(void)
|
||||
|
||||
m_btnMgr.setText(m_configLblPage, wfmt(L"%i / %i", g_curPage, m_locked ? g_curPage + 1 : CMenu::_nbCfgPages));
|
||||
|
||||
if (m_current_view == COVERFLOW_CHANNEL || m_current_view == COVERFLOW_USB)
|
||||
if ((m_current_view == COVERFLOW_CHANNEL || m_current_view == COVERFLOW_USB) && !m_locked)
|
||||
{
|
||||
m_btnMgr.show(m_configLblEmulation);
|
||||
m_btnMgr.show(m_configLblEmulationVal);
|
||||
|
@ -101,7 +101,7 @@ void CMenu::_showMain(void)
|
||||
m_btnMgr.show(m_mainBtnUsb);
|
||||
break;
|
||||
case COVERFLOW_CHANNEL:
|
||||
if(show_homebrew)
|
||||
if (show_homebrew && (parental_homebrew || !m_locked))
|
||||
m_btnMgr.show(m_mainBtnHomebrew);
|
||||
else
|
||||
m_btnMgr.show(m_mainBtnUsb);
|
||||
|
Loading…
Reference in New Issue
Block a user