mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
Added NcmPackagedContentInfo.
This commit is contained in:
parent
1c883145a8
commit
9029e9f38d
@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../types.h"
|
#include "../types.h"
|
||||||
|
#include "../crypto/sha256.h"
|
||||||
|
|
||||||
/// StorageId
|
/// StorageId
|
||||||
typedef enum {
|
typedef enum {
|
||||||
@ -90,6 +91,12 @@ typedef struct {
|
|||||||
u8 id_offset; ///< Offset of this content. Unused by most applications.
|
u8 id_offset; ///< Offset of this content. Unused by most applications.
|
||||||
} NcmContentInfo;
|
} NcmContentInfo;
|
||||||
|
|
||||||
|
/// PackagedContentInfo
|
||||||
|
typedef struct {
|
||||||
|
u8 hash[SHA256_HASH_SIZE];
|
||||||
|
NcmContentInfo info;
|
||||||
|
} NcmPackagedContentInfo;
|
||||||
|
|
||||||
/// Used by system updates. They share the exact same struct as NcmContentMetaKey
|
/// Used by system updates. They share the exact same struct as NcmContentMetaKey
|
||||||
typedef NcmContentMetaKey NcmContentMetaInfo;
|
typedef NcmContentMetaKey NcmContentMetaInfo;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user