mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-03 16:44:20 +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();
|
||||
MusicPlayer::Instance()->Play();
|
||||
const char* lang;
|
||||
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);
|
||||
m_gameList.SetLanguage(m_loc.getString(m_curLanguage, "gametdb_code", "EN").c_str());
|
||||
if (m_cfg.getBool("GENERAL", "update_cache", false))
|
||||
UpdateCache();
|
||||
_loadList();
|
||||
|
Loading…
Reference in New Issue
Block a user