strat: use lr results instead of magics

This commit is contained in:
Michael Scire 2019-03-28 20:31:48 -07:00
parent 0001e93810
commit c50cb83ec1
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 8d15f82a9bf8a61e45856ae764f936a2d82e8a90 Subproject commit 2f1b90e39701e7de57c191f8bdc2da9e38402215

View File

@ -165,7 +165,7 @@ Result ContentManagement::ResolveContentPath(char *out_path, u64 tid, FsStorageI
if (R_SUCCEEDED(rc = lrRegLrResolveProgramPath(&reg, tid, path))) { if (R_SUCCEEDED(rc = lrRegLrResolveProgramPath(&reg, 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;
} }