diff options
Diffstat (limited to 'Source/Core/Core/IOS/ES/TitleManagement.cpp')
| -rw-r--r-- | Source/Core/Core/IOS/ES/TitleManagement.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/Core/IOS/ES/TitleManagement.cpp b/Source/Core/Core/IOS/ES/TitleManagement.cpp index 2496f854f7..1bb9a1a752 100644 --- a/Source/Core/Core/IOS/ES/TitleManagement.cpp +++ b/Source/Core/Core/IOS/ES/TitleManagement.cpp @@ -342,7 +342,8 @@ static bool CheckIfContentHashMatches(const std::vector<u8>& content, const IOS: static std::string GetImportContentPath(u64 title_id, u32 content_id) { - return Common::GetImportTitlePath(title_id) + StringFromFormat("/content/%08x.app", content_id); + return Common::GetImportTitlePath(title_id, Common::FROM_SESSION_ROOT) + + StringFromFormat("/content/%08x.app", content_id); } ReturnCode ES::ImportContentEnd(Context& context, u32 content_fd) @@ -604,7 +605,7 @@ ReturnCode ES::DeleteContent(u64 title_id, u32 content_id) const return ES_EINVAL; if (!File::Delete(Common::GetTitleContentPath(title_id, Common::FROM_SESSION_ROOT) + - StringFromFormat("%08x.app", content_id))) + StringFromFormat("/%08x.app", content_id))) { return FS_ENOENT; } |
