diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-11 19:25:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-11 19:25:30 -0400 |
| commit | bc286c169fb8b07d21e082e05152cfd6bc611b33 (patch) | |
| tree | 512bc4cca3adbe98a16cae454377c2ec2638b5e3 /src/core/file_sys/content_archive.h | |
| parent | 670a2c1f80b906f384d9c61a27436c57c685abcb (diff) | |
| parent | 8069fbd37f45637d90b6a90ab5d1e2e151ad9efd (diff) | |
Merge pull request #970 from DarkLordZach/loader-errors
loader: Add more descriptive errors
Diffstat (limited to 'src/core/file_sys/content_archive.h')
| -rw-r--r-- | src/core/file_sys/content_archive.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/file_sys/content_archive.h b/src/core/file_sys/content_archive.h index 5cfd5031a..b82e65ad5 100644 --- a/src/core/file_sys/content_archive.h +++ b/src/core/file_sys/content_archive.h @@ -98,8 +98,8 @@ protected: private: u8 GetCryptoRevision() const; boost::optional<Core::Crypto::Key128> GetKeyAreaKey(NCASectionCryptoType type) const; - boost::optional<Core::Crypto::Key128> GetTitlekey() const; - VirtualFile Decrypt(NCASectionHeader header, VirtualFile in, u64 starting_offset) const; + boost::optional<Core::Crypto::Key128> GetTitlekey(); + VirtualFile Decrypt(NCASectionHeader header, VirtualFile in, u64 starting_offset); std::vector<VirtualDir> dirs; std::vector<VirtualFile> files; @@ -109,6 +109,7 @@ private: VirtualFile file; NCAHeader header{}; + bool has_rights_id{}; Loader::ResultStatus status{}; |
