mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 08:11:21 +00:00
strat: use lr results instead of magics
This commit is contained in:
parent
0001e93810
commit
c50cb83ec1
@ -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 New Issue
Block a user