diff --git a/out/boot.dol b/out/boot.dol index 441095b5..5c44780d 100644 Binary files a/out/boot.dol and b/out/boot.dol differ diff --git a/source/menu/menu.cpp b/source/menu/menu.cpp index 4b5cb8b3..bf39a176 100644 --- a/source/menu/menu.cpp +++ b/source/menu/menu.cpp @@ -339,8 +339,11 @@ bool CMenu::init() case CONF_LANG_KOREAN: defLang = "korean"; break; + case CONF_LANG_ENGLISH: + defLang = "english"; + break; } - if (CONF_GetArea() == CONF_AREA_BRA) + if(CONF_GetArea() == CONF_AREA_BRA) defLang = "brazilian"; m_curLanguage = m_cfg.getString("GENERAL", "language", defLang); @@ -1910,7 +1913,8 @@ void CMenu::_drawBg(void) void CMenu::_updateText(void) { - _textSource(); + if(m_use_source) + _textSource(); _textPluginSettings(); _textCategorySettings(); _textCheatSettings(); diff --git a/source/menu/menu_config_adv.cpp b/source/menu/menu_config_adv.cpp index 552938b3..484fa0f4 100644 --- a/source/menu/menu_config_adv.cpp +++ b/source/menu/menu_config_adv.cpp @@ -124,7 +124,7 @@ int CMenu::_configAdv(void) break; } } - bool lang_changed = false; + string prevLanguage = languages_available[available_pos]; _showConfigAdv(); while(!m_exit) @@ -161,7 +161,6 @@ int CMenu::_configAdv(void) } else m_cfg.setString("GENERAL", "language", m_curLanguage.c_str()); - lang_changed = true; _updateText(); _showConfigAdv(); } @@ -175,8 +174,13 @@ int CMenu::_configAdv(void) } } _hideConfigAdv(); - if(lang_changed) + if(m_curLanguage != prevLanguage) + { + m_cacheList.Init(m_settingsDir.c_str(), m_loc.getString(m_curLanguage, "gametdb_code", "EN").c_str()); + fsop_deleteFolder(m_listCacheDir.c_str());// delete cache lists folder and remake it so all lists update. + fsop_MakeFolder(m_listCacheDir.c_str()); m_refreshGameList = true; + } return change; } diff --git a/source/menu/menu_main.cpp b/source/menu/menu_main.cpp index e5e1f1c7..defcac5e 100644 --- a/source/menu/menu_main.cpp +++ b/source/menu/menu_main.cpp @@ -160,7 +160,7 @@ void CMenu::_showCF(bool refreshList) _cacheCovers(); _stop_pThread(); m_btnMgr.setText(m_wbfsLblDialog, _t("dlmsg14", L"Done.")); - u8 pause = 240; + u8 pause = 150; while(!m_exit) { _mainLoopCommon();