From 6fa9276e57345c2f8fd16d0af6bd2a8df9c9e264 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 7 Mar 2020 18:45:58 +1100 Subject: [PATCH] lr: bug fixes --- .../stratosphere/lr/lr_i_registered_location_resolver.hpp | 2 +- libraries/libstratosphere/source/lr/lr_location_redirector.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libstratosphere/include/stratosphere/lr/lr_i_registered_location_resolver.hpp b/libraries/libstratosphere/include/stratosphere/lr/lr_i_registered_location_resolver.hpp index 38682708b..255a45f07 100644 --- a/libraries/libstratosphere/include/stratosphere/lr/lr_i_registered_location_resolver.hpp +++ b/libraries/libstratosphere/include/stratosphere/lr/lr_i_registered_location_resolver.hpp @@ -66,7 +66,7 @@ namespace ams::lr { MAKE_SERVICE_COMMAND_META(RegisterHtmlDocumentPath, hos::Version_900), MAKE_SERVICE_COMMAND_META(UnregisterHtmlDocumentPath, hos::Version_200), MAKE_SERVICE_COMMAND_META(RedirectHtmlDocumentPathDeprecated, hos::Version_200, hos::Version_810), - MAKE_SERVICE_COMMAND_META(RedirectHtmlDocumentPathDeprecated, hos::Version_900), + MAKE_SERVICE_COMMAND_META(RedirectHtmlDocumentPath, hos::Version_900), MAKE_SERVICE_COMMAND_META(Refresh, hos::Version_700), MAKE_SERVICE_COMMAND_META(RefreshExcluding, hos::Version_900), }; diff --git a/libraries/libstratosphere/source/lr/lr_location_redirector.cpp b/libraries/libstratosphere/source/lr/lr_location_redirector.cpp index f2c6a45b2..9c0445dc5 100644 --- a/libraries/libstratosphere/source/lr/lr_location_redirector.cpp +++ b/libraries/libstratosphere/source/lr/lr_location_redirector.cpp @@ -63,7 +63,7 @@ namespace ams::lr { } void LocationRedirector::SetRedirection(ncm::ProgramId program_id, const Path &path, u32 flags) { - this->SetRedirection(program_id, path, flags); + this->SetRedirection(program_id, ncm::InvalidProgramId, path, flags); } void LocationRedirector::SetRedirection(ncm::ProgramId program_id, ncm::ProgramId owner_id, const Path &path, u32 flags) {