[XAM] Use correct path for STFS headers

This commit is contained in:
emoose 2020-01-13 04:02:10 +00:00
parent 44c2f72a30
commit dea24e2fcb
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ std::vector<XCONTENT_DATA> ContentManager::ListContent(uint32_t device_id,
auto headers_path = file_info.path + file_info.name;
if (file_info.type == xe::filesystem::FileInfo::Type::kDirectory) {
headers_path = headers_path + ContentManager::kStfsHeadersExtension;
headers_path =
xe::join_paths(headers_path, ContentManager::kStfsHeadersExtension);
}
if (xe::filesystem::PathExists(headers_path)) {