From 6fae4417143fdd0fb36b71d882b4bba600c895e2 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sun, 19 Apr 2020 21:17:40 -0700 Subject: [PATCH] ns: fix appman getter funcs on 3.0.0-5.0.2 --- nx/source/services/ns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nx/source/services/ns.c b/nx/source/services/ns.c index f4e65ed9..847f0396 100644 --- a/nx/source/services/ns.c +++ b/nx/source/services/ns.c @@ -463,6 +463,8 @@ Result nsGetApplicationControlData(NsApplicationControlSource source, u64 applic if (hosversionAtLeast(5,1,0)) { rc = nsGetReadOnlyApplicationControlDataInterface(&srv); cmd_id = 0; + } else if (hosversionAtLeast(3,0,0)) { + rc = nsGetApplicationManagerInterface(&srv); } else srv_ptr = &g_nsAppManSrv; @@ -498,6 +500,8 @@ Result nsGetApplicationDesiredLanguage(NacpStruct *nacp, NacpLanguageEntry **lan if (hosversionAtLeast(5,1,0)) { rc = nsGetReadOnlyApplicationControlDataInterface(&srv); cmd_id = 1; + } else if (hosversionAtLeast(3,0,0)) { + rc = nsGetApplicationManagerInterface(&srv); } else srv_ptr = &g_nsAppManSrv;