diff options
author | bunnei <bunneidev@gmail.com> | 2019-06-12 03:13:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-12 03:13:05 +0200 |
commit | 7e2bcf04b471579054424fd26746826747c0d335 (patch) | |
tree | 5f19440a05d88417002ce348c7c065c90ac85282 | |
parent | Merge pull request #2572 from FernandoS27/gpu-mem (diff) | |
parent | file_sys/nca_metadata: Update CNMT structures (diff) | |
download | yuzu-7e2bcf04b471579054424fd26746826747c0d335.tar yuzu-7e2bcf04b471579054424fd26746826747c0d335.tar.gz yuzu-7e2bcf04b471579054424fd26746826747c0d335.tar.bz2 yuzu-7e2bcf04b471579054424fd26746826747c0d335.tar.lz yuzu-7e2bcf04b471579054424fd26746826747c0d335.tar.xz yuzu-7e2bcf04b471579054424fd26746826747c0d335.tar.zst yuzu-7e2bcf04b471579054424fd26746826747c0d335.zip |
-rw-r--r-- | src/core/file_sys/nca_metadata.h | 9 |
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."); |