diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-04-05 15:52:13 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-04-05 15:57:47 -0400 |
| commit | 633d55d5035a60d9053093ce10f14d991a4c2f54 (patch) | |
| tree | 5a822fa25b5e968f04852e5baeedd2a70ea5f6ed /src/core/file_sys/program_metadata.h | |
| parent | 6e99d5146f62b205ca75a9baed88d4bf64a4c45a (diff) | |
file_sys/program_metadata: Remove obsolete TODOs
BitField has been trivially copyable since
b20657a36f909e2bb7e2b8e171c6718d5a3149d6, so we can eliminate these
TODO comments and use ReadObject() directly instead of memcpying the
data.
Diffstat (limited to 'src/core/file_sys/program_metadata.h')
| -rw-r--r-- | src/core/file_sys/program_metadata.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/file_sys/program_metadata.h b/src/core/file_sys/program_metadata.h index 0033ba3475..7de5b9cf93 100644 --- a/src/core/file_sys/program_metadata.h +++ b/src/core/file_sys/program_metadata.h @@ -58,7 +58,6 @@ public: void Print() const; private: - // TODO(DarkLordZach): BitField is not trivially copyable. struct Header { std::array<char, 4> magic; std::array<u8, 8> reserved; @@ -85,7 +84,6 @@ private: static_assert(sizeof(Header) == 0x80, "NPDM header structure size is wrong"); - // TODO(DarkLordZach): BitField is not trivially copyable. struct AcidHeader { std::array<u8, 0x100> signature; std::array<u8, 0x100> nca_modulus; |
