aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/program_metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/program_metadata.h')
-rw-r--r--src/core/file_sys/program_metadata.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/file_sys/program_metadata.h b/src/core/file_sys/program_metadata.h
index eb4cf11894..115e6d6cd1 100644
--- a/src/core/file_sys/program_metadata.h
+++ b/src/core/file_sys/program_metadata.h
@@ -77,9 +77,6 @@ public:
u8 GetMainThreadCore() const;
u32 GetMainThreadStackSize() const;
u64 GetTitleID() const;
- bool UsesExtendedAcid() const {
- return uses_extended_acid;
- }
u64 GetFilesystemPermissions() const;
u32 GetSystemResourceSize() const;
PoolPartition GetPoolPartition() const;
@@ -119,6 +116,8 @@ private:
static_assert(sizeof(Header) == 0x80, "NPDM header structure size is wrong");
struct AcidHeader {
+ std::array<u8, 0x100> signature;
+ std::array<u8, 0x100> nca_modulus;
std::array<char, 4> magic;
u32_le nca_size;
std::array<u8, 0x4> reserved;
@@ -140,7 +139,7 @@ private:
INSERT_PADDING_BYTES(0x8);
};
- static_assert(sizeof(AcidHeader) == 0x40, "ACID header body size is wrong");
+ static_assert(sizeof(AcidHeader) == 0x240, "ACID header structure size is wrong");
struct AciHeader {
std::array<char, 4> magic;
@@ -178,7 +177,6 @@ private:
};
Header npdm_header{};
- bool uses_extended_acid{};
AciHeader aci_header{};
AcidHeader acid_header{};