mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-03-10 18:27:55 +01:00
-fixed wrong label in the startup settings
-fixed emuflow for plugins get displayed wrong
This commit is contained in:
parent
4d03e0e2dc
commit
e1738af041
@ -64,7 +64,7 @@ static void showBoot(void)
|
|||||||
m_btnMgr.show(m_bootBtnPageP);
|
m_btnMgr.show(m_bootBtnPageP);
|
||||||
for(u8 i = 0; i < ARRAY_SIZE(m_bootLblUser); ++i)
|
for(u8 i = 0; i < ARRAY_SIZE(m_bootLblUser); ++i)
|
||||||
if(m_bootLblUser[i] != -1)
|
if(m_bootLblUser[i] != -1)
|
||||||
m_btnMgr.show(m_bootLblUser[i]);
|
m_btnMgr.show(m_bootLblUser[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void hideBoot(bool instant, bool common)
|
static void hideBoot(bool instant, bool common)
|
||||||
@ -280,7 +280,7 @@ void CMenu::_textBoot(void)
|
|||||||
m_btnMgr.setText(m_bootLblCategoryOnBoot, _t("cfgd7", L"Show categories on boot"));
|
m_btnMgr.setText(m_bootLblCategoryOnBoot, _t("cfgd7", L"Show categories on boot"));
|
||||||
m_btnMgr.setText(m_bootLblSourceOnBoot, _t("cfgbt5", L"Show source menu on boot"));
|
m_btnMgr.setText(m_bootLblSourceOnBoot, _t("cfgbt5", L"Show source menu on boot"));
|
||||||
m_btnMgr.setText(m_bootLblMultisource, _t("cfgbt6", L"Enable Multisource Features"));
|
m_btnMgr.setText(m_bootLblMultisource, _t("cfgbt6", L"Enable Multisource Features"));
|
||||||
m_btnMgr.setText(m_bootLblFtpOnBoot, _t("cfgbt6", L"Start FTP Server on boot"));
|
m_btnMgr.setText(m_bootLblFtpOnBoot, _t("cfgbt7", L"Start FTP Server on boot"));
|
||||||
m_btnMgr.setText(m_bootBtnBack, _t("cfg10", L"Back"));
|
m_btnMgr.setText(m_bootBtnBack, _t("cfg10", L"Back"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -382,10 +382,10 @@ bool CMenu::_Source()
|
|||||||
{
|
{
|
||||||
if(m_btnMgr.selected(m_sourceBtnSource[i]))
|
if(m_btnMgr.selected(m_sourceBtnSource[i]))
|
||||||
{
|
{
|
||||||
const char *btn_selected = fmt("BUTTON_%i", i + j);
|
char btn_selected[256];
|
||||||
gprintf("%s\n", btn_selected);
|
memset(btn_selected, 0, 256);
|
||||||
|
strncpy(btn_selected, fmt("BUTTON_%i", i + j), 255);
|
||||||
string source = m_source.getString(btn_selected, "source", "");
|
string source = m_source.getString(btn_selected, "source", "");
|
||||||
gprintf("%s\n", source.c_str());
|
|
||||||
if(BTN_A_PRESSED)
|
if(BTN_A_PRESSED)
|
||||||
{
|
{
|
||||||
_clearSources();
|
_clearSources();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user