summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-04 22:48:48 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:55 +0200
commitff6a5031d5ea509375a5dc1ee7b9eeddda6d9ebc (patch)
tree3112cd88285713a2b6a56e21c1502ae54f1ae847 /src/core/hle/service
parentshared_translation: Add missing time zones (diff)
downloadyuzu-ff6a5031d5ea509375a5dc1ee7b9eeddda6d9ebc.tar
yuzu-ff6a5031d5ea509375a5dc1ee7b9eeddda6d9ebc.tar.gz
yuzu-ff6a5031d5ea509375a5dc1ee7b9eeddda6d9ebc.tar.bz2
yuzu-ff6a5031d5ea509375a5dc1ee7b9eeddda6d9ebc.tar.lz
yuzu-ff6a5031d5ea509375a5dc1ee7b9eeddda6d9ebc.tar.xz
yuzu-ff6a5031d5ea509375a5dc1ee7b9eeddda6d9ebc.tar.zst
yuzu-ff6a5031d5ea509375a5dc1ee7b9eeddda6d9ebc.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/time/time_zone_content_manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/time/time_zone_content_manager.cpp b/src/core/hle/service/time/time_zone_content_manager.cpp
index 5d60be67a..565f6b39b 100644
--- a/src/core/hle/service/time/time_zone_content_manager.cpp
+++ b/src/core/hle/service/time/time_zone_content_manager.cpp
@@ -76,7 +76,8 @@ TimeZoneContentManager::TimeZoneContentManager(Core::System& system_)
: system{system_}, location_name_cache{BuildLocationNameCache(system)} {}
void TimeZoneContentManager::Initialize(TimeManager& time_manager) {
- const auto timezone_setting = Settings::GetTimeZoneString();
+ const auto timezone_setting =
+ Settings::GetTimeZoneString(Settings::values.time_zone_index.GetValue());
if (FileSys::VirtualFile vfs_file;
GetTimeZoneInfoFile(timezone_setting, vfs_file) == ResultSuccess) {