[Kernel/XAM] CloseContent: Close files related to closed content

This commit is contained in:
Gliniak
2021-01-15 09:55:20 +01:00
committed by Rick Gibbed
parent f298d7620a
commit 29f28b8b60
2 changed files with 25 additions and 0 deletions

View File

@@ -159,6 +159,7 @@ class ContentManager {
X_RESULT DeleteContent(const ContentData& data);
std::filesystem::path ResolveGameUserContentPath();
bool IsContentOpen(const ContentData& data) const;
void CloseOpenedFilesFromContent(const std::string_view root_name);
private:
std::filesystem::path ResolvePackageRoot(uint32_t content_type);