From 4626b50341bcf382a6afce1f917b13f7bcb1810a Mon Sep 17 00:00:00 2001 From: yellows8 Date: Tue, 3 Dec 2019 15:05:29 -0500 Subject: [PATCH] ncm_types: Replaced the typedef for NcmContentMetaInfo with an actual struct. Closes #351. --- nx/include/switch/services/ncm_types.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nx/include/switch/services/ncm_types.h b/nx/include/switch/services/ncm_types.h index 6b673f8e..26e57049 100644 --- a/nx/include/switch/services/ncm_types.h +++ b/nx/include/switch/services/ncm_types.h @@ -97,8 +97,14 @@ typedef struct { NcmContentInfo info; } NcmPackagedContentInfo; -/// Used by system updates. They share the exact same struct as NcmContentMetaKey -typedef NcmContentMetaKey NcmContentMetaInfo; +/// ContentMetaInfo +typedef struct { + u64 id; ///< Id. + u32 version; ///< Version. + u8 type; ///< \ref NcmContentMetaType + u8 attr; ///< \ref NcmContentMetaAttribute + u8 padding[2]; ///< Padding. +} NcmContentMetaInfo; /// ContentMetaHeader typedef struct {