diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-14 16:58:55 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-14 16:58:58 +0200 |
commit | b14277ef971e1071a39dd604d34643e597284a8d (patch) | |
tree | ce75d5f27131b01f1bbdfe11b042334a2c74bb14 /src/core/hle/service | |
parent | Merge pull request #4495 from lioncash/conv (diff) | |
download | yuzu-b14277ef971e1071a39dd604d34643e597284a8d.tar yuzu-b14277ef971e1071a39dd604d34643e597284a8d.tar.gz yuzu-b14277ef971e1071a39dd604d34643e597284a8d.tar.bz2 yuzu-b14277ef971e1071a39dd604d34643e597284a8d.tar.lz yuzu-b14277ef971e1071a39dd604d34643e597284a8d.tar.xz yuzu-b14277ef971e1071a39dd604d34643e597284a8d.tar.zst yuzu-b14277ef971e1071a39dd604d34643e597284a8d.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/time/time_zone_content_manager.cpp | 4 |
1 files changed, 1 insertions, 3 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 c070d6e97..320672add 100644 --- a/src/core/hle/service/time/time_zone_content_manager.cpp +++ b/src/core/hle/service/time/time_zone_content_manager.cpp @@ -73,10 +73,8 @@ TimeZoneContentManager::TimeZoneContentManager(TimeManager& time_manager, Core:: std::string location_name; const auto timezone_setting = Settings::GetTimeZoneString(); - if (timezone_setting == "auto") { + if (timezone_setting == "auto" || timezone_setting == "default") { location_name = Common::TimeZone::GetDefaultTimeZone(); - } else if (timezone_setting == "default") { - location_name = location_name; } else { location_name = timezone_setting; } |