diff options
| author | 2021-06-22 14:25:41 -0700 | |
|---|---|---|
| committer | 2021-06-22 14:25:41 -0700 | |
| commit | 791d3d1beaf6658a56fea52fe8935c451df180b6 (patch) | |
| tree | e636f665294808ac45d25b09483ed4c8d7b02bfc | |
| 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.gz yuzu-791d3d1beaf6658a56fea52fe8935c451df180b6.tar.xz yuzu-791d3d1beaf6658a56fea52fe8935c451df180b6.zip | |
Merge pull request #6483 from Morph1984/get-tz-file
service: time: Use GetFileRelative to get files within subdirectories
| -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 | |||
| 125 | return ERROR_TIME_NOT_FOUND; | 125 | return ERROR_TIME_NOT_FOUND; |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | vfs_file = zoneinfo_dir->GetFile(location_name); | 128 | vfs_file = zoneinfo_dir->GetFileRelative(location_name); |
| 129 | if (!vfs_file) { | 129 | if (!vfs_file) { |
| 130 | LOG_ERROR(Service_Time, "{:016X} has no file \"{}\"! Using default timezone.", | 130 | LOG_ERROR(Service_Time, "{:016X} has no file \"{}\"! Using default timezone.", |
| 131 | time_zone_binary_titleid, location_name); | 131 | time_zone_binary_titleid, location_name); |