[XAM] Trim content name when resolving its path

This commit is contained in:
NicknineTheEagle
2024-07-04 22:42:16 +03:00
committed by Radosław Gliński
parent a8421bbce1
commit a7acce50a6
2 changed files with 32 additions and 23 deletions

View File

@@ -175,6 +175,9 @@ class ContentManager {
uint32_t title_id = -1);
std::filesystem::path ResolvePackagePath(const XCONTENT_AGGREGATE_DATA& data,
const uint32_t disc_number = -1);
std::filesystem::path ResolvePackageHeaderPath(
const std::string_view file_name, XContentType content_type,
uint32_t title_id = -1);
KernelState* kernel_state_;
std::filesystem::path root_path_;