Show the name of the chosen language on the choice button. Looks weird not to.

This commit is contained in:
Henrik Rydgård committed 2022-12-05 12:10:45 +01:00
1 parent 93e5060137
commit dd22ec6fa7
3 files changed
+13 -4

No files matched your search

+2 -2
View File
@@ -1294,8 +1294,8 @@ void Config::LoadLangValuesMapping() {
langCodeMapping["CHINESE_TRADITIONAL"] = PSP_SYSTEMPARAM_LANGUAGE_CHINESE_TRADITIONAL;
langCodeMapping["CHINESE_SIMPLIFIED"] = PSP_SYSTEMPARAM_LANGUAGE_CHINESE_SIMPLIFIED;
Section *langRegionNames = mapping.GetOrCreateSection("LangRegionNames");
Section *systemLanguage = mapping.GetOrCreateSection("SystemLanguage");
const Section *langRegionNames = mapping.GetOrCreateSection("LangRegionNames");
const Section *systemLanguage = mapping.GetOrCreateSection("SystemLanguage");
for (size_t i = 0; i < keys.size(); i++) {
std::string langName;