diff --git a/nx/include/switch/services/ncm_types.h b/nx/include/switch/services/ncm_types.h index aa9b20a9..6b673f8e 100644 --- a/nx/include/switch/services/ncm_types.h +++ b/nx/include/switch/services/ncm_types.h @@ -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;