mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-21 10:25:08 -04:00
Fixed incorrect content manager destruction
This commit is contained in:
parent
9e9987a673
commit
f080f6793b
9 changed files with 38 additions and 7 deletions
|
@ -48,6 +48,7 @@ namespace sts::lr {
|
|||
|
||||
R_ASSERT(this->content_storage->GetPath(&path, program_content_id));
|
||||
*out.pointer = path;
|
||||
debug::DebugLog("Resolved program path to %s\n", path.path);
|
||||
return ResultSuccess;
|
||||
R_DEBUG_END
|
||||
}
|
||||
|
@ -107,6 +108,7 @@ namespace sts::lr {
|
|||
Result ContentLocationResolverInterface::RedirectApplicationHtmlDocumentPath(InPointer<const Path> path, ncm::TitleId tid) {
|
||||
R_DEBUG_START
|
||||
this->html_docs_redirector.SetRedirection(tid, *path.pointer, impl::RedirectionFlags_Application);
|
||||
debug::DebugLog("Redirected application html document path to %s\n", (*path.pointer).path);
|
||||
return ResultSuccess;
|
||||
R_DEBUG_END
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue