mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-29 23:32:23 +00:00
strat: use lr results instead of magics
This commit is contained in:
parent
0001e93810
commit
c50cb83ec1
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 8d15f82a9bf8a61e45856ae764f936a2d82e8a90
|
Subproject commit 2f1b90e39701e7de57c191f8bdc2da9e38402215
|
|
@ -165,7 +165,7 @@ Result ContentManagement::ResolveContentPath(char *out_path, u64 tid, FsStorageI
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc = lrRegLrResolveProgramPath(®, tid, path))) {
|
if (R_SUCCEEDED(rc = lrRegLrResolveProgramPath(®, tid, path))) {
|
||||||
strncpy(out_path, path, FS_MAX_PATH);
|
strncpy(out_path, path, FS_MAX_PATH);
|
||||||
} else if (rc != 0x408) {
|
} else if (rc != ResultLrProgramNotFound) {
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue