From 7090b3b331bbff2f34673ae992c459ea28a46abe Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Tue, 18 Oct 2022 19:33:33 +0200 Subject: [PATCH] ncm_types: improve descriptions for size methods. --- nx/include/switch/services/ncm_types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nx/include/switch/services/ncm_types.h b/nx/include/switch/services/ncm_types.h index de9143aa..850bc008 100644 --- a/nx/include/switch/services/ncm_types.h +++ b/nx/include/switch/services/ncm_types.h @@ -172,8 +172,8 @@ typedef struct { } NcmProgramLocation; /** - * @brief Converts the size fields from an input \ref NcmContentInfo into a usable 64-bit integer. - * @param[in] info Pointer to \ref NcmContentInfo object. + * @brief Retrieves the content size from a \ref NcmContentInfo struct. + * @param[in] info Pointer to \ref NcmContentInfo struct. * @param[out] out Output size. */ NX_CONSTEXPR void ncmContentInfoSizeToU64(const NcmContentInfo *info, u64 *out) { @@ -181,9 +181,9 @@ NX_CONSTEXPR void ncmContentInfoSizeToU64(const NcmContentInfo *info, u64 *out) } /** - * @brief Updates the size fields from a \ref NcmContentInfo using an input 64-bit integer. + * @brief Updates the content size from a \ref NcmContentInfo struct. * @param[in] size Input size. - * @param[out] out Pointer to \ref NcmContentInfo object to be updated. + * @param[out] out Pointer to \ref NcmContentInfo struct. */ NX_CONSTEXPR void ncmU64ToContentInfoSize(const u64 size, NcmContentInfo *info) { info->size_low = size & 0xFFFFFFFF;