diff --git a/nx/include/switch/services/lr.h b/nx/include/switch/services/lr.h index 327956fa..7c382db0 100644 --- a/nx/include/switch/services/lr.h +++ b/nx/include/switch/services/lr.h @@ -33,8 +33,8 @@ Result lrLrResolveApplicationHtmlDocumentPath(LrLocationResolver* lr, u64 tid, c Result lrLrResolveDataPath(LrLocationResolver* lr, u64 tid, char *out); Result lrLrRedirectApplicationControlPath(LrLocationResolver* lr, u64 tid, u64 tid2, const char *path); Result lrLrRedirectApplicationHtmlDocumentPath(LrLocationResolver* lr, u64 tid, u64 tid2, const char *path); -Result lrLrResolveLegalInformationPath(LrLocationResolver* lr, u64 tid, char *out); -Result lrLrRedirectLegalInformationPath(LrLocationResolver* lr, u64 tid, const char *path); +Result lrLrResolveApplicationLegalInformationPath(LrLocationResolver* lr, u64 tid, char *out); +Result lrLrRedirectApplicationLegalInformationPath(LrLocationResolver* lr, u64 tid, u64 tid2, const char *path); Result lrLrRefresh(LrLocationResolver* lr); // IRegisteredLocationResolver diff --git a/nx/source/services/lr.c b/nx/source/services/lr.c index 2ea3fed1..76495cbb 100644 --- a/nx/source/services/lr.c +++ b/nx/source/services/lr.c @@ -257,12 +257,12 @@ Result lrLrRedirectApplicationHtmlDocumentPath(LrLocationResolver* lr, u64 tid, return _lrRedirectApplicationPath(&lr->s, 6, tid, tid2, path); } -Result lrLrResolveLegalInformationPath(LrLocationResolver* lr, u64 tid, char *out) { +Result lrLrResolveApplicationLegalInformationPath(LrLocationResolver* lr, u64 tid, char *out) { return _lrResolvePath(&lr->s, 7, tid, out); } -Result lrLrRedirectLegalInformationPath(LrLocationResolver* lr, u64 tid, const char *path) { - return _lrRedirectPath(&lr->s, 8, tid, path); +Result lrLrRedirectApplicationLegalInformationPath(LrLocationResolver* lr, u64 tid, u64 tid2, const char *path) { + return _lrRedirectApplicationPath(&lr->s, 8, tid, tid2, path); } Result lrLrRefresh(LrLocationResolver* lr) {