mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-24 04:09:15 +01:00
- moved source menu settings to page 12 of main settings. no more pressing 'home' while viewing the source menu/flow.
This commit is contained in:
parent
5dc8212037
commit
cba6c0bcd6
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
@ -70,8 +70,8 @@ void CMenu::_showConfig7(int curPage)
|
|||||||
{
|
{
|
||||||
m_btnMgr.show(m_config7Lbl1);
|
m_btnMgr.show(m_config7Lbl1);
|
||||||
m_btnMgr.show(m_config7Btn1);
|
m_btnMgr.show(m_config7Btn1);
|
||||||
//m_btnMgr.show(m_config7Lbl2);
|
m_btnMgr.show(m_config7Lbl2);
|
||||||
//m_btnMgr.show(m_config7Btn2);
|
m_btnMgr.show(m_config7Btn2);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -152,8 +152,8 @@ void CMenu::_showConfig7(int curPage)
|
|||||||
{
|
{
|
||||||
m_btnMgr.setText(m_config7Lbl1, _t("cfg722", L"Homebrew settings"));
|
m_btnMgr.setText(m_config7Lbl1, _t("cfg722", L"Homebrew settings"));
|
||||||
m_btnMgr.setText(m_config7Btn1, _t("cfg14", L"Set"));
|
m_btnMgr.setText(m_config7Btn1, _t("cfg14", L"Set"));
|
||||||
//m_btnMgr.setText(m_config7Lbl2, _t("cfg723", L"Source menu settings"));
|
m_btnMgr.setText(m_config7Lbl2, _t("cfg723", L"Source menu settings"));
|
||||||
//m_btnMgr.setText(m_config7Btn2, _t("cfg14", L"Set"));
|
m_btnMgr.setText(m_config7Btn2, _t("cfg14", L"Set"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -310,12 +310,12 @@ int CMenu::_config7(int curPage)
|
|||||||
_CfgHB();
|
_CfgHB();
|
||||||
_showConfig7(12);
|
_showConfig7(12);
|
||||||
}
|
}
|
||||||
/*else if(m_btnMgr.selected(m_config7Btn2))
|
else if(m_btnMgr.selected(m_config7Btn2))
|
||||||
{
|
{
|
||||||
_hideConfig7();
|
_hideConfig7();
|
||||||
_CfgSrc();
|
_CfgSrc();
|
||||||
_showConfig7(12);
|
_showConfig7(12);
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -89,13 +89,19 @@ static void _showCfgSrc(bool m_sourceflow)
|
|||||||
|
|
||||||
void CMenu::_CfgSrc(void)
|
void CMenu::_CfgSrc(void)
|
||||||
{
|
{
|
||||||
|
if(!m_use_source)
|
||||||
|
{
|
||||||
|
error(_t("cfgsmerr", L"No source menu found!"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
SetupInput();
|
SetupInput();
|
||||||
_setBg(m_cfgsrcBg, m_cfgsrcBg);
|
_setBg(m_cfgsrcBg, m_cfgsrcBg);
|
||||||
m_btnMgr.setText(m_cfgsrcBtnEnableSF, m_cfg.getBool(SOURCEFLOW_DOMAIN, "enabled") ? _t("on", L"On") : _t("off", L"Off"));
|
m_btnMgr.setText(m_cfgsrcBtnEnableSF, m_cfg.getBool(SOURCEFLOW_DOMAIN, "enabled") ? _t("on", L"On") : _t("off", L"Off"));
|
||||||
m_btnMgr.setText(m_cfgsrcBtnSmallbox, m_cfg.getBool(SOURCEFLOW_DOMAIN, "smallbox") ? _t("on", L"On") : _t("off", L"Off"));
|
m_btnMgr.setText(m_cfgsrcBtnSmallbox, m_cfg.getBool(SOURCEFLOW_DOMAIN, "smallbox") ? _t("on", L"On") : _t("off", L"Off"));
|
||||||
m_btnMgr.setText(m_cfgsrcBtnBoxMode, m_cfg.getBool(SOURCEFLOW_DOMAIN, "box_mode") ? _t("on", L"On") : _t("off", L"Off"));
|
m_btnMgr.setText(m_cfgsrcBtnBoxMode, m_cfg.getBool(SOURCEFLOW_DOMAIN, "box_mode") ? _t("on", L"On") : _t("off", L"Off"));
|
||||||
m_btnMgr.setText(m_cfgsrcBtnMultisource, m_cfg.getBool("GENERAL", "multisource") ? _t("on", L"On") : _t("off", L"Off"));
|
m_btnMgr.setText(m_cfgsrcBtnMultisource, m_cfg.getBool("GENERAL", "multisource") ? _t("on", L"On") : _t("off", L"Off"));
|
||||||
_showCfgSrc(m_sourceflow);
|
_showCfgSrc(m_cfg.getBool(SOURCEFLOW_DOMAIN, "enabled", false));
|
||||||
|
bool temp;
|
||||||
|
|
||||||
while(!m_exit)
|
while(!m_exit)
|
||||||
{
|
{
|
||||||
@ -112,31 +118,32 @@ void CMenu::_CfgSrc(void)
|
|||||||
break;
|
break;
|
||||||
else if(m_btnMgr.selected(m_cfgsrcBtnEnableSF))
|
else if(m_btnMgr.selected(m_cfgsrcBtnEnableSF))
|
||||||
{
|
{
|
||||||
m_sourceflow = !m_sourceflow;
|
temp = !m_cfg.getBool(SOURCEFLOW_DOMAIN, "enabled", false);
|
||||||
m_cfg.setBool(SOURCEFLOW_DOMAIN, "enabled", m_sourceflow);
|
m_cfg.setBool(SOURCEFLOW_DOMAIN, "enabled", temp);
|
||||||
m_btnMgr.setText(m_cfgsrcBtnEnableSF, m_sourceflow ? _t("on", L"On") : _t("off", L"Off"));
|
m_btnMgr.setText(m_cfgsrcBtnEnableSF, temp ? _t("on", L"On") : _t("off", L"Off"));
|
||||||
_showCfgSrc(m_sourceflow);
|
_showCfgSrc(temp);
|
||||||
}
|
}
|
||||||
else if(m_btnMgr.selected(m_cfgsrcBtnSmallbox))
|
else if(m_btnMgr.selected(m_cfgsrcBtnSmallbox))
|
||||||
{
|
{
|
||||||
m_refreshGameList = true;
|
temp = !m_cfg.getBool(SOURCEFLOW_DOMAIN, "smallbox", false);
|
||||||
//fsop_deleteFolder(fmt("%s/sourceflow", m_cacheDir.c_str()));
|
m_cfg.setBool(SOURCEFLOW_DOMAIN, "smallbox", temp);
|
||||||
m_cfg.setBool(SOURCEFLOW_DOMAIN, "smallbox", !m_cfg.getBool(SOURCEFLOW_DOMAIN, "smallbox", false));
|
m_btnMgr.setText(m_cfgsrcBtnSmallbox, temp ? _t("on", L"On") : _t("off", L"Off"));
|
||||||
m_btnMgr.setText(m_cfgsrcBtnSmallbox, m_cfg.getBool(SOURCEFLOW_DOMAIN, "smallbox") ? _t("on", L"On") : _t("off", L"Off"));
|
|
||||||
}
|
}
|
||||||
else if(m_btnMgr.selected(m_cfgsrcBtnBoxMode))
|
else if(m_btnMgr.selected(m_cfgsrcBtnBoxMode))
|
||||||
{
|
{
|
||||||
m_refreshGameList = true;
|
temp = !m_cfg.getBool(SOURCEFLOW_DOMAIN, "box_mode", false);
|
||||||
//fsop_deleteFolder(fmt("%s/sourceflow", m_cacheDir.c_str()));
|
m_cfg.setBool(SOURCEFLOW_DOMAIN, "box_mode", temp);
|
||||||
m_cfg.setBool(SOURCEFLOW_DOMAIN, "box_mode", !m_cfg.getBool(SOURCEFLOW_DOMAIN, "box_mode", false));
|
m_btnMgr.setText(m_cfgsrcBtnBoxMode, temp ? _t("on", L"On") : _t("off", L"Off"));
|
||||||
m_btnMgr.setText(m_cfgsrcBtnBoxMode, m_cfg.getBool(SOURCEFLOW_DOMAIN, "box_mode") ? _t("on", L"On") : _t("off", L"Off"));
|
|
||||||
}
|
}
|
||||||
else if(m_btnMgr.selected(m_cfgsrcBtnAdjustCF))
|
else if(m_btnMgr.selected(m_cfgsrcBtnAdjustCF))
|
||||||
{
|
{
|
||||||
m_refreshGameList = true;
|
|
||||||
_hideCfgSrc(true);
|
_hideCfgSrc(true);
|
||||||
|
m_sourceflow = true;
|
||||||
|
_showCF(true);
|
||||||
_cfTheme();
|
_cfTheme();
|
||||||
_showCfgSrc(m_sourceflow);
|
m_sourceflow = false;
|
||||||
|
_showCF(true);
|
||||||
|
_showCfgSrc(true);
|
||||||
}
|
}
|
||||||
else if(m_btnMgr.selected(m_cfgsrcBtnMultisource))
|
else if(m_btnMgr.selected(m_cfgsrcBtnMultisource))
|
||||||
{
|
{
|
||||||
|
@ -382,34 +382,15 @@ int CMenu::main(void)
|
|||||||
if(BTN_HOME_PRESSED)
|
if(BTN_HOME_PRESSED)
|
||||||
{
|
{
|
||||||
_hideMain();
|
_hideMain();
|
||||||
/* sourceflow config menu */
|
|
||||||
if(m_sourceflow)
|
|
||||||
{
|
|
||||||
_CfgSrc();
|
|
||||||
if(BTN_B_HELD)
|
|
||||||
{
|
|
||||||
bheld = true;
|
|
||||||
bUsed = true;
|
|
||||||
}
|
|
||||||
if(!m_cfg.getBool(SOURCEFLOW_DOMAIN, "enabled"))
|
|
||||||
{
|
|
||||||
m_sourceflow = false;
|
|
||||||
m_refreshGameList = true;
|
|
||||||
}
|
|
||||||
_showMain();
|
|
||||||
}
|
|
||||||
/* Home menu */
|
/* Home menu */
|
||||||
else
|
if(_Home())
|
||||||
|
break;// exit wiiflow
|
||||||
|
if(BTN_B_HELD)
|
||||||
{
|
{
|
||||||
if(_Home())
|
bheld = true;
|
||||||
break;// exit wiiflow
|
bUsed = true;
|
||||||
if(BTN_B_HELD)
|
|
||||||
{
|
|
||||||
bheld = true;
|
|
||||||
bUsed = true;
|
|
||||||
}
|
|
||||||
_showMain();
|
|
||||||
}
|
}
|
||||||
|
_showMain();
|
||||||
}
|
}
|
||||||
else if(BTN_A_PRESSED)
|
else if(BTN_A_PRESSED)
|
||||||
{
|
{
|
||||||
|
@ -284,6 +284,8 @@ bool CMenu::_wbfsOp(CMenu::WBFS_OP op)
|
|||||||
|
|
||||||
SetupInput();
|
SetupInput();
|
||||||
_showWBFS(op);
|
_showWBFS(op);
|
||||||
|
m_btnMgr.show(m_wbfsLblMessage);
|
||||||
|
m_btnMgr.setText(m_wbfsLblMessage, _t("wbfsop27", L"Or press 'B' to go back."));
|
||||||
switch (op)
|
switch (op)
|
||||||
{
|
{
|
||||||
case WO_ADD_GAME:
|
case WO_ADD_GAME:
|
||||||
|
@ -63,6 +63,8 @@ cfg718=Source Menu on start
|
|||||||
cfg719=Mount SD only
|
cfg719=Mount SD only
|
||||||
cfg720=Play GC banner sound
|
cfg720=Play GC banner sound
|
||||||
cfg721=Play GC default sound
|
cfg721=Play GC default sound
|
||||||
|
cfg722=Homebrew settings
|
||||||
|
cfg723=Source menu settings
|
||||||
cfga2=Install game
|
cfga2=Install game
|
||||||
cfga3=Install
|
cfga3=Install
|
||||||
cfga6=Language
|
cfga6=Language
|
||||||
@ -223,6 +225,7 @@ cfgsm1=Source Menu Settings
|
|||||||
cfgsm3=Enable Sourceflow
|
cfgsm3=Enable Sourceflow
|
||||||
cfgsm4=Sourceflow Smallbox
|
cfgsm4=Sourceflow Smallbox
|
||||||
cfgsm5=Clear Sourceflow Cache
|
cfgsm5=Clear Sourceflow Cache
|
||||||
|
cfgsmerr=No source menu found!
|
||||||
cfghb1=Homebrew Settings
|
cfghb1=Homebrew Settings
|
||||||
cfghb2=Coverflow Smallbox
|
cfghb2=Coverflow Smallbox
|
||||||
cfghb3=Homebrew Partition
|
cfghb3=Homebrew Partition
|
||||||
@ -331,8 +334,6 @@ errgame17=Can not delete real NAND Channels!
|
|||||||
errgame18=No game info!
|
errgame18=No game info!
|
||||||
errgame19=Can't launch in Wii virtual console mode!
|
errgame19=Can't launch in Wii virtual console mode!
|
||||||
errneek1=Cannot launch neek2o. Verify your neek2o setup
|
errneek1=Cannot launch neek2o. Verify your neek2o setup
|
||||||
errsource1=Homebrew locked!
|
|
||||||
errsource2=Homebrew and multisource not allowed!
|
|
||||||
exit_to=Exit To
|
exit_to=Exit To
|
||||||
ftp1=Start
|
ftp1=Start
|
||||||
ftp2=Stop
|
ftp2=Stop
|
||||||
@ -486,6 +487,7 @@ wbfsop23=Calculating space needed for %s...\n Please insert disc %d to continue
|
|||||||
wbfsop24=Not enough space: %d blocks needed, %d available
|
wbfsop24=Not enough space: %d blocks needed, %d available
|
||||||
wbfsop25=Disc read error!! Please clean the disc
|
wbfsop25=Disc read error!! Please clean the disc
|
||||||
wbfsop26=Disc ejected!! Please insert disc again
|
wbfsop26=Disc ejected!! Please insert disc again
|
||||||
|
wbfsop27=Or press'B' to go back.
|
||||||
wbfsop4=Back
|
wbfsop4=Back
|
||||||
wbfsop5=Go
|
wbfsop5=Go
|
||||||
wbfsop6=Installing [%s] %s...
|
wbfsop6=Installing [%s] %s...
|
||||||
|
Loading…
Reference in New Issue
Block a user