From 69785259a54d87ddebf8afe7dcd09763bf5dd22a Mon Sep 17 00:00:00 2001 From: emoose <abc@cock.li> Date: Mon, 13 Jan 2020 04:02:10 +0000 Subject: [PATCH] [XAM] Use correct path for STFS headers --- src/xenia/kernel/xam/content_manager.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xenia/kernel/xam/content_manager.cc b/src/xenia/kernel/xam/content_manager.cc index 69516a758..711af45fc 100644 --- a/src/xenia/kernel/xam/content_manager.cc +++ b/src/xenia/kernel/xam/content_manager.cc @@ -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)) {