summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-06-22 23:25:41 +0200
committerGitHub <noreply@github.com>2021-06-22 23:25:41 +0200
commit791d3d1beaf6658a56fea52fe8935c451df180b6 (patch)
treee636f665294808ac45d25b09483ed4c8d7b02bfc /src/core/hle/service
parentMerge pull request #6506 from ReinUsesLisp/master-semaphore-jthread (diff)
parentservice: time: Use GetFileRelative to get files within subdirectories (diff)
downloadyuzu-791d3d1beaf6658a56fea52fe8935c451df180b6.tar
yuzu-791d3d1beaf6658a56fea52fe8935c451df180b6.tar.gz
yuzu-791d3d1beaf6658a56fea52fe8935c451df180b6.tar.bz2
yuzu-791d3d1beaf6658a56fea52fe8935c451df180b6.tar.lz
yuzu-791d3d1beaf6658a56fea52fe8935c451df180b6.tar.xz
yuzu-791d3d1beaf6658a56fea52fe8935c451df180b6.tar.zst
yuzu-791d3d1beaf6658a56fea52fe8935c451df180b6.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/time/time_zone_content_manager.cpp2
1 files changed, 1 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 bf4402308..c634b6abd 100644
--- a/src/core/hle/service/time/time_zone_content_manager.cpp
+++ b/src/core/hle/service/time/time_zone_content_manager.cpp
@@ -125,7 +125,7 @@ ResultCode TimeZoneContentManager::GetTimeZoneInfoFile(const std::string& locati
return ERROR_TIME_NOT_FOUND;
}
- vfs_file = zoneinfo_dir->GetFile(location_name);
+ vfs_file = zoneinfo_dir->GetFileRelative(location_name);
if (!vfs_file) {
LOG_ERROR(Service_Time, "{:016X} has no file \"{}\"! Using default timezone.",
time_zone_binary_titleid, location_name);