summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/content_archive.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-07-30 02:47:33 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-01 06:16:54 +0200
commita9c921a41dec63f76f80df1f0d5dc3be40fa80de (patch)
tree51e17454ad3e03e68aff05511e76681e8d5a93eb /src/core/file_sys/content_archive.h
parentAdd missing includes and use const where applicable (diff)
downloadyuzu-a9c921a41dec63f76f80df1f0d5dc3be40fa80de.tar
yuzu-a9c921a41dec63f76f80df1f0d5dc3be40fa80de.tar.gz
yuzu-a9c921a41dec63f76f80df1f0d5dc3be40fa80de.tar.bz2
yuzu-a9c921a41dec63f76f80df1f0d5dc3be40fa80de.tar.lz
yuzu-a9c921a41dec63f76f80df1f0d5dc3be40fa80de.tar.xz
yuzu-a9c921a41dec63f76f80df1f0d5dc3be40fa80de.tar.zst
yuzu-a9c921a41dec63f76f80df1f0d5dc3be40fa80de.zip
Diffstat (limited to 'src/core/file_sys/content_archive.h')
-rw-r--r--src/core/file_sys/content_archive.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/content_archive.h b/src/core/file_sys/content_archive.h
index e68ab0235..6492163b5 100644
--- a/src/core/file_sys/content_archive.h
+++ b/src/core/file_sys/content_archive.h
@@ -8,7 +8,7 @@
#include <memory>
#include <string>
#include <vector>
-
+#include <boost/optional.hpp>
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "common/swap.h"
@@ -95,7 +95,7 @@ protected:
bool ReplaceFileWithSubdirectory(VirtualFile file, VirtualDir dir) override;
private:
- Core::Crypto::Key128 GetKeyAreaKey(NCASectionCryptoType type) const;
+ boost::optional<Core::Crypto::Key128> GetKeyAreaKey(NCASectionCryptoType type) const;
VirtualFile Decrypt(NCASectionHeader header, VirtualFile in, u64 starting_offset) const;
std::vector<VirtualDir> dirs;