From c50cb83ec15c5b0fdc29e52cf5bef909fbb257ab Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 28 Mar 2019 20:31:48 -0700 Subject: [PATCH] strat: use lr results instead of magics --- stratosphere/libstratosphere | 2 +- stratosphere/loader/source/ldr_content_management.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stratosphere/libstratosphere b/stratosphere/libstratosphere index 8d15f82a9..2f1b90e39 160000 --- a/stratosphere/libstratosphere +++ b/stratosphere/libstratosphere @@ -1 +1 @@ -Subproject commit 8d15f82a9bf8a61e45856ae764f936a2d82e8a90 +Subproject commit 2f1b90e39701e7de57c191f8bdc2da9e38402215 diff --git a/stratosphere/loader/source/ldr_content_management.cpp b/stratosphere/loader/source/ldr_content_management.cpp index e4943a8c4..973a6a382 100644 --- a/stratosphere/loader/source/ldr_content_management.cpp +++ b/stratosphere/loader/source/ldr_content_management.cpp @@ -165,7 +165,7 @@ Result ContentManagement::ResolveContentPath(char *out_path, u64 tid, FsStorageI if (R_SUCCEEDED(rc = lrRegLrResolveProgramPath(®, tid, path))) { strncpy(out_path, path, FS_MAX_PATH); - } else if (rc != 0x408) { + } else if (rc != ResultLrProgramNotFound) { return rc; }