diff options
Diffstat (limited to 'src/core/file_sys/nca_metadata.h')
-rw-r--r-- | src/core/file_sys/nca_metadata.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/file_sys/nca_metadata.h b/src/core/file_sys/nca_metadata.h index c1ca9b061..88e66d4da 100644 --- a/src/core/file_sys/nca_metadata.h +++ b/src/core/file_sys/nca_metadata.h @@ -29,6 +29,9 @@ enum class TitleType : u8 { DeltaTitle = 0x83, }; +bool operator>=(TitleType lhs, TitleType rhs); +bool operator<=(TitleType lhs, TitleType rhs); + enum class ContentRecordType : u8 { Meta = 0, Program = 1, @@ -96,8 +99,8 @@ public: std::vector<u8> Serialize() const; private: - std::unique_ptr<CNMTHeader> header; - std::unique_ptr<OptionalHeader> opt_header; + CNMTHeader header; + OptionalHeader opt_header; std::vector<ContentRecord> content_records; std::vector<MetaRecord> meta_records; |