mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 14:11:43 +00:00
loader: update for 13.0.0 ncm changes
This commit is contained in:
parent
7cdfa68dd5
commit
790f7498c1
1 changed files with 5 additions and 0 deletions
|
@ -85,6 +85,11 @@ namespace ams::ldr {
|
||||||
Result ResolveContentPath(char *out_path, const ncm::ProgramLocation &loc) {
|
Result ResolveContentPath(char *out_path, const ncm::ProgramLocation &loc) {
|
||||||
lr::Path path;
|
lr::Path path;
|
||||||
|
|
||||||
|
/* Check that path registration is allowable. */
|
||||||
|
if (loc.storage_id == ncm::StorageId::Host) {
|
||||||
|
AMS_ABORT_UNLESS(spl::IsDevelopment());
|
||||||
|
}
|
||||||
|
|
||||||
/* Try to get the path from the registered resolver. */
|
/* Try to get the path from the registered resolver. */
|
||||||
lr::RegisteredLocationResolver reg;
|
lr::RegisteredLocationResolver reg;
|
||||||
R_TRY(lr::OpenRegisteredLocationResolver(std::addressof(reg)));
|
R_TRY(lr::OpenRegisteredLocationResolver(std::addressof(reg)));
|
||||||
|
|
Loading…
Reference in a new issue