mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-12 13:04:27 +01:00
-reverted language detection for gametdb from r42
This commit is contained in:
parent
8e5e204100
commit
2f4d8129aa
@ -175,29 +175,7 @@ int CMenu::main(void)
|
|||||||
|
|
||||||
SetupInput();
|
SetupInput();
|
||||||
MusicPlayer::Instance()->Play();
|
MusicPlayer::Instance()->Play();
|
||||||
const char* lang;
|
m_gameList.SetLanguage(m_loc.getString(m_curLanguage, "gametdb_code", "EN").c_str());
|
||||||
switch (CONF_GetLanguage())
|
|
||||||
{
|
|
||||||
case CONF_LANG_GERMAN:
|
|
||||||
lang="DE";
|
|
||||||
break;
|
|
||||||
case CONF_LANG_FRENCH:
|
|
||||||
lang="FR";
|
|
||||||
break;
|
|
||||||
case CONF_LANG_SPANISH:
|
|
||||||
lang="ES";
|
|
||||||
break;
|
|
||||||
case CONF_LANG_ITALIAN:
|
|
||||||
lang="IT";
|
|
||||||
break;
|
|
||||||
case CONF_LANG_DUTCH:
|
|
||||||
lang="NL";
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
lang="EN";
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
m_gameList.SetLanguage(lang);
|
|
||||||
if (m_cfg.getBool("GENERAL", "update_cache", false))
|
if (m_cfg.getBool("GENERAL", "update_cache", false))
|
||||||
UpdateCache();
|
UpdateCache();
|
||||||
_loadList();
|
_loadList();
|
||||||
|
Loading…
Reference in New Issue
Block a user