mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 08:42:45 +01:00
Correctly sets default system language for yuzu-CLI (#1727)
* Correctly sets default system language for yuzu-CLI A user reported that yuzu_cmd runs games in Japanese rather than the correct default of English (like yuzu-qt does correctly), this change fixes that. * fix clang issue deleted whitespace
This commit is contained in:
parent
da238db6df
commit
9a47e40dd6
1 changed files with 2 additions and 0 deletions
|
@ -139,6 +139,8 @@ void Config::ReadValues() {
|
||||||
Settings::values.rng_seed = std::nullopt;
|
Settings::values.rng_seed = std::nullopt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Settings::values.language_index = sdl2_config->GetInteger("System", "language_index", 1);
|
||||||
|
|
||||||
// Miscellaneous
|
// Miscellaneous
|
||||||
Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Trace");
|
Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Trace");
|
||||||
Settings::values.use_dev_keys = sdl2_config->GetBoolean("Miscellaneous", "use_dev_keys", false);
|
Settings::values.use_dev_keys = sdl2_config->GetBoolean("Miscellaneous", "use_dev_keys", false);
|
||||||
|
|
Loading…
Reference in a new issue