summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-06-11 05:48:12 +0200
committerLioncash <mathew1800@gmail.com>2019-06-11 05:51:06 +0200
commita602bcaaf8d92becbad8b9243a967e62b99766c3 (patch)
treef6eaebfaaf9fdf505153fab799043d813cf55c46 /src/core
parentMerge pull request #2571 from lioncash/ref (diff)
downloadyuzu-a602bcaaf8d92becbad8b9243a967e62b99766c3.tar
yuzu-a602bcaaf8d92becbad8b9243a967e62b99766c3.tar.gz
yuzu-a602bcaaf8d92becbad8b9243a967e62b99766c3.tar.bz2
yuzu-a602bcaaf8d92becbad8b9243a967e62b99766c3.tar.lz
yuzu-a602bcaaf8d92becbad8b9243a967e62b99766c3.tar.xz
yuzu-a602bcaaf8d92becbad8b9243a967e62b99766c3.tar.zst
yuzu-a602bcaaf8d92becbad8b9243a967e62b99766c3.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/nca_metadata.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/file_sys/nca_metadata.h b/src/core/file_sys/nca_metadata.h
index 50bf38471..84d5cd1e0 100644
--- a/src/core/file_sys/nca_metadata.h
+++ b/src/core/file_sys/nca_metadata.h
@@ -4,6 +4,7 @@
#pragma once
+#include <array>
#include <memory>
#include <vector>
#include "common/common_funcs.h"
@@ -69,11 +70,15 @@ struct CNMTHeader {
u64_le title_id;
u32_le title_version;
TitleType type;
- INSERT_PADDING_BYTES(1);
+ u8 reserved;
u16_le table_offset;
u16_le number_content_entries;
u16_le number_meta_entries;
- INSERT_PADDING_BYTES(12);
+ u8 attributes;
+ std::array<u8, 2> reserved2;
+ u8 is_committed;
+ u32_le required_download_system_version;
+ std::array<u8, 4> reserved3;
};
static_assert(sizeof(CNMTHeader) == 0x20, "CNMTHeader has incorrect size.");