mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-07 01:52:14 +02:00
lr: Unnecessary vars 2 electric boogaloo
This commit is contained in:
parent
c7c5b9bfcf
commit
32dc7ff59c
@ -51,8 +51,7 @@ namespace sts::lr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Result RegisteredLocationResolverInterface::RedirectProgramPath(InPointer<const Path> path, ncm::TitleId tid) {
|
Result RegisteredLocationResolverInterface::RedirectProgramPath(InPointer<const Path> path, ncm::TitleId tid) {
|
||||||
Path tmp_path = *path.pointer;
|
this->program_redirector.SetRedirection(tid, *path.pointer);
|
||||||
this->program_redirector.SetRedirection(tid, tmp_path);
|
|
||||||
return ResultSuccess;
|
return ResultSuccess;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -83,8 +82,7 @@ namespace sts::lr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Result RegisteredLocationResolverInterface::RedirectHtmlDocumentPath(InPointer<const Path> path, ncm::TitleId tid) {
|
Result RegisteredLocationResolverInterface::RedirectHtmlDocumentPath(InPointer<const Path> path, ncm::TitleId tid) {
|
||||||
Path tmp_path = *path.pointer;
|
this->html_docs_redirector.SetRedirection(tid, *path.pointer);
|
||||||
this->html_docs_redirector.SetRedirection(tid, tmp_path);
|
|
||||||
return ResultSuccess;
|
return ResultSuccess;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user