strat: use lr results instead of magics
This commit is contained in:
Submodule stratosphere/libstratosphere updated: 8d15f82a9b...2f1b90e397
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user