diff --git a/src/xenia/kernel/xam/content_manager.cc b/src/xenia/kernel/xam/content_manager.cc index b418ce9be..11d3474b6 100644 --- a/src/xenia/kernel/xam/content_manager.cc +++ b/src/xenia/kernel/xam/content_manager.cc @@ -281,20 +281,6 @@ X_RESULT ContentManager::DeleteContent(const XCONTENT_DATA& data) { return result; } -std::wstring ContentManager::ResolveGameUserContentPath() { - wchar_t title_id[9] = L"00000000"; - std::swprintf(title_id, 9, L"%.8X", kernel_state_->title_id()); - auto user_name = xe::to_wstring(kernel_state_->user_profile()->name()); - - // Per-game per-profile data location: - // content_root/title_id/profile/user_name - auto package_root = xe::join_paths( - root_path_, - xe::join_paths(title_id, - xe::join_paths(kGameUserContentDirName, user_name))); - return package_root + xe::kWPathSeparator; -} - } // namespace xam } // namespace kernel } // namespace xe diff --git a/src/xenia/kernel/xam/content_manager.h b/src/xenia/kernel/xam/content_manager.h index f8a33736b..92c7c9b1e 100644 --- a/src/xenia/kernel/xam/content_manager.h +++ b/src/xenia/kernel/xam/content_manager.h @@ -77,7 +77,6 @@ class ContentManager { X_RESULT SetContentThumbnail(const XCONTENT_DATA& data, std::vector buffer); X_RESULT DeleteContent(const XCONTENT_DATA& data); - std::wstring ResolveGameUserContentPath(); void SetTitleIdOverride(uint32_t title_id) { title_id_override_ = title_id; }