diff options
author | bunnei <bunneidev@gmail.com> | 2021-06-22 23:25:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 23:25:41 +0200 |
commit | 791d3d1beaf6658a56fea52fe8935c451df180b6 (patch) | |
tree | e636f665294808ac45d25b09483ed4c8d7b02bfc /src/core | |
parent | Merge pull request #6506 from ReinUsesLisp/master-semaphore-jthread (diff) | |
parent | service: time: Use GetFileRelative to get files within subdirectories (diff) | |
download | yuzu-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')
-rw-r--r-- | src/core/hle/service/time/time_zone_content_manager.cpp | 2 |
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); |