Browse Source
Merge pull request #6483 from Morph1984/get-tz-file
service: time: Use GetFileRelative to get files within subdirectories
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
|