mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 04:22:50 +02:00
Added NcmPackagedContentInfo.
This commit is contained in:
parent
1c883145a8
commit
9029e9f38d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user