From 9e154c4aa6dc8d63dffa18017a59f67aea4cb2f4 Mon Sep 17 00:00:00 2001 From: MasaGratoR Date: Mon, 13 Apr 2026 15:33:19 +0200 Subject: [PATCH 1/2] Update nsGetApplicationControlData2 comment --- nx/include/switch/services/ns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/include/switch/services/ns.h b/nx/include/switch/services/ns.h index fcab1ea7b..47fbc3da7 100644 --- a/nx/include/switch/services/ns.h +++ b/nx/include/switch/services/ns.h @@ -319,7 +319,7 @@ Result nsGetApplicationControlData(NsApplicationControlSource source, u64 applic * @param[in] application_id ApplicationId. * @param[out] buffer \ref NsApplicationControlData * @param[in] size Size of the buffer. - * @param[in] flag1 Default is 0. 0xFF speeds up execution. + * @param[in] flag1 Default is 0. 1 retrieves 174x174 icon instead of 256x256. 0xFF uses alternative path that is faster on 19.0.0-21.2.0, but slower on 22.0.0+ than 0 and 1. * @param[in] acd_idx Default is 0. 1 tries to get NsApplicationControlData for Switch 2 Edition. * @param[out] actual_size Actual output size. * @param[out] unk Returned with size, always 0. From 4ed78aaa1bc9eecaa06d0bf4739b43af21470ccc Mon Sep 17 00:00:00 2001 From: MasaGratoR Date: Tue, 14 Apr 2026 18:17:58 +0200 Subject: [PATCH 2/2] Update ns.h --- nx/include/switch/services/ns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/include/switch/services/ns.h b/nx/include/switch/services/ns.h index 47fbc3da7..c85a06088 100644 --- a/nx/include/switch/services/ns.h +++ b/nx/include/switch/services/ns.h @@ -319,7 +319,7 @@ Result nsGetApplicationControlData(NsApplicationControlSource source, u64 applic * @param[in] application_id ApplicationId. * @param[out] buffer \ref NsApplicationControlData * @param[in] size Size of the buffer. - * @param[in] flag1 Default is 0. 1 retrieves 174x174 icon instead of 256x256. 0xFF uses alternative path that is faster on 19.0.0-21.2.0, but slower on 22.0.0+ than 0 and 1. + * @param[in] flag1 Default is 0. 1 retrieves 174x174 icon instead of 256x256. 0xFF uses an unknown alternative path. * @param[in] acd_idx Default is 0. 1 tries to get NsApplicationControlData for Switch 2 Edition. * @param[out] actual_size Actual output size. * @param[out] unk Returned with size, always 0.