summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/xts_archive.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-19 03:14:57 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-23 17:53:30 +0200
commit42dc856ce136c75f587649863ec5bd936ba8b07a (patch)
tree5b270705a38cc4187a5634f753c9caa2f398dfb8 /src/core/file_sys/xts_archive.h
parentkey_manager: Add support for autogenerated keys (diff)
downloadyuzu-42dc856ce136c75f587649863ec5bd936ba8b07a.tar
yuzu-42dc856ce136c75f587649863ec5bd936ba8b07a.tar.gz
yuzu-42dc856ce136c75f587649863ec5bd936ba8b07a.tar.bz2
yuzu-42dc856ce136c75f587649863ec5bd936ba8b07a.tar.lz
yuzu-42dc856ce136c75f587649863ec5bd936ba8b07a.tar.xz
yuzu-42dc856ce136c75f587649863ec5bd936ba8b07a.tar.zst
yuzu-42dc856ce136c75f587649863ec5bd936ba8b07a.zip
Diffstat (limited to 'src/core/file_sys/xts_archive.h')
-rw-r--r--src/core/file_sys/xts_archive.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/file_sys/xts_archive.h b/src/core/file_sys/xts_archive.h
index 4e44f634a..5249ad026 100644
--- a/src/core/file_sys/xts_archive.h
+++ b/src/core/file_sys/xts_archive.h
@@ -33,13 +33,13 @@ public:
explicit NAX(VirtualFile file);
explicit NAX(VirtualFile file, std::array<u8, 0x10> nca_id);
- Loader::ResultStatus GetStatus();
+ Loader::ResultStatus GetStatus() const;
- VirtualFile GetDecrypted();
+ VirtualFile GetDecrypted() const;
- std::shared_ptr<NCA> AsNCA();
+ std::shared_ptr<NCA> AsNCA() const;
- NAXContentType GetContentType();
+ NAXContentType GetContentType() const;
std::vector<std::shared_ptr<VfsFile>> GetFiles() const override;
@@ -53,7 +53,7 @@ protected:
bool ReplaceFileWithSubdirectory(VirtualFile file, VirtualDir dir) override;
private:
- Loader::ResultStatus Parse(std::string path);
+ Loader::ResultStatus Parse(std::string_view path);
std::unique_ptr<NAXHeader> header;