[Xam/Content] Remove unused ResolveGameUserContentPath func

(not needed since we store this stuff inside GPD now)
This commit is contained in:
emoose 2019-12-31 04:43:57 +00:00 committed by Gliniak
parent 12674aa529
commit 39f8ec655b
2 changed files with 0 additions and 15 deletions

View File

@ -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

View File

@ -77,7 +77,6 @@ class ContentManager {
X_RESULT SetContentThumbnail(const XCONTENT_DATA& data,
std::vector<uint8_t> buffer);
X_RESULT DeleteContent(const XCONTENT_DATA& data);
std::wstring ResolveGameUserContentPath();
void SetTitleIdOverride(uint32_t title_id) { title_id_override_ = title_id; }