Added NcmPackagedContentInfo.

This commit is contained in:
yellows8 2019-11-23 20:22:29 -05:00
parent 1c883145a8
commit 9029e9f38d
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -6,6 +6,7 @@
*/
#pragma once
#include "../types.h"
#include "../crypto/sha256.h"
/// StorageId
typedef enum {
@ -90,6 +91,12 @@ typedef struct {
u8 id_offset; ///< Offset of this content. Unused by most applications.
} NcmContentInfo;
/// PackagedContentInfo
typedef struct {
u8 hash[SHA256_HASH_SIZE];
NcmContentInfo info;
} NcmPackagedContentInfo;
/// Used by system updates. They share the exact same struct as NcmContentMetaKey
typedef NcmContentMetaKey NcmContentMetaInfo;