ncm_types: Replaced the typedef for NcmContentMetaInfo with an actual struct. Closes #351.

This commit is contained in:
yellows8 2019-12-03 15:05:29 -05:00
parent bbcabee29f
commit 4626b50341
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -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 {