mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
better formatting
This commit is contained in:
parent
19721a0a5f
commit
9d3caecc3f
@ -350,10 +350,12 @@ static void check_variables(CoreParameter &coreParam)
|
||||
|
||||
g_Config.sLanguageIni = "en_US";
|
||||
auto langValuesMapping = GetLangValuesMapping();
|
||||
for(auto i = langValuesMapping.begin(); i != langValuesMapping.end(); ++i){
|
||||
if(i->second.second == g_Config.iLanguage){
|
||||
for (auto i = langValuesMapping.begin(); i != langValuesMapping.end(); ++i)
|
||||
{
|
||||
if (i->second.second == g_Config.iLanguage)
|
||||
{
|
||||
g_Config.sLanguageIni = i->first;
|
||||
}
|
||||
}
|
||||
}
|
||||
i18nrepo.LoadIni(g_Config.sLanguageIni);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user