diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2018-08-11 15:39:09 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-11 22:50:48 -0400 |
| commit | 893447b6b0f5068f3cc2111b5f21c3cff68002e2 (patch) | |
| tree | f2451fcb2478243621b6952ca5b006f22f957022 /src/core/file_sys/nca_metadata.h | |
| parent | 22bdddd6f01e1976590e6df55fd3bcb29cb8aeef (diff) | |
registration: Update documentation and style
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; |
