diff options
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 5 | ||||
| -rw-r--r-- | src/yuzu_cmd/default_ini.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 8476a5a16..2348e6e0d 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -367,6 +367,9 @@ void Config::ReadValues() { | |||
| 367 | Settings::values.custom_rtc = std::nullopt; | 367 | Settings::values.custom_rtc = std::nullopt; |
| 368 | } | 368 | } |
| 369 | 369 | ||
| 370 | Settings::values.language_index = sdl2_config->GetInteger("System", "language_index", 1); | ||
| 371 | Settings::values.time_zone_index = sdl2_config->GetInteger("System", "time_zone_index", 0); | ||
| 372 | |||
| 370 | // Core | 373 | // Core |
| 371 | Settings::values.use_multi_core = sdl2_config->GetBoolean("Core", "use_multi_core", false); | 374 | Settings::values.use_multi_core = sdl2_config->GetBoolean("Core", "use_multi_core", false); |
| 372 | 375 | ||
| @@ -409,8 +412,6 @@ void Config::ReadValues() { | |||
| 409 | Settings::values.audio_device_id = sdl2_config->Get("Audio", "output_device", "auto"); | 412 | Settings::values.audio_device_id = sdl2_config->Get("Audio", "output_device", "auto"); |
| 410 | Settings::values.volume = static_cast<float>(sdl2_config->GetReal("Audio", "volume", 1)); | 413 | Settings::values.volume = static_cast<float>(sdl2_config->GetReal("Audio", "volume", 1)); |
| 411 | 414 | ||
| 412 | Settings::values.language_index = sdl2_config->GetInteger("System", "language_index", 1); | ||
| 413 | |||
| 414 | // Miscellaneous | 415 | // Miscellaneous |
| 415 | Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Trace"); | 416 | Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Trace"); |
| 416 | Settings::values.use_dev_keys = sdl2_config->GetBoolean("Miscellaneous", "use_dev_keys", false); | 417 | Settings::values.use_dev_keys = sdl2_config->GetBoolean("Miscellaneous", "use_dev_keys", false); |
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index 60b1a62fa..ae94b51c4 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h | |||
| @@ -262,6 +262,10 @@ language_index = | |||
| 262 | # -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan | 262 | # -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan |
| 263 | region_value = | 263 | region_value = |
| 264 | 264 | ||
| 265 | # The system time zone that yuzu will use during emulation | ||
| 266 | # 0: Auto-select (default), 1: Default (system archive value), Others: Index for specified time zone | ||
| 267 | time_zone_index = | ||
| 268 | |||
| 265 | [Miscellaneous] | 269 | [Miscellaneous] |
| 266 | # A filter which removes logs below a certain logging level. | 270 | # A filter which removes logs below a certain logging level. |
| 267 | # Examples: *:Debug Kernel.SVC:Trace Service.*:Critical | 271 | # Examples: *:Debug Kernel.SVC:Trace Service.*:Critical |