summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/partition_filesystem.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-09-23 03:44:36 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-23 03:44:36 +0200
commit3895f7e4562a02ee07cac6908787802bddf2c092 (patch)
tree861410fd65ece538a0d18a3504e91b4f02cb8afa /src/core/file_sys/partition_filesystem.h
parentMerge pull request #2901 from DarkLordZach/mainline-title-bar (diff)
downloadyuzu-3895f7e4562a02ee07cac6908787802bddf2c092.tar
yuzu-3895f7e4562a02ee07cac6908787802bddf2c092.tar.gz
yuzu-3895f7e4562a02ee07cac6908787802bddf2c092.tar.bz2
yuzu-3895f7e4562a02ee07cac6908787802bddf2c092.tar.lz
yuzu-3895f7e4562a02ee07cac6908787802bddf2c092.tar.xz
yuzu-3895f7e4562a02ee07cac6908787802bddf2c092.tar.zst
yuzu-3895f7e4562a02ee07cac6908787802bddf2c092.zip
Diffstat (limited to 'src/core/file_sys/partition_filesystem.h')
-rw-r--r--src/core/file_sys/partition_filesystem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/partition_filesystem.h b/src/core/file_sys/partition_filesystem.h
index 248fdfdeb..279193b19 100644
--- a/src/core/file_sys/partition_filesystem.h
+++ b/src/core/file_sys/partition_filesystem.h
@@ -29,6 +29,9 @@ public:
Loader::ResultStatus GetStatus() const;
+ std::map<std::string, u64> GetFileOffsets() const;
+ std::map<std::string, u64> GetFileSizes() const;
+
std::vector<std::shared_ptr<VfsFile>> GetFiles() const override;
std::vector<std::shared_ptr<VfsDirectory>> GetSubdirectories() const override;
std::string GetName() const override;
@@ -80,6 +83,9 @@ private:
bool is_hfs = false;
std::size_t content_offset = 0;
+ std::map<std::string, u64> offsets;
+ std::map<std::string, u64> sizes;
+
std::vector<VirtualFile> pfs_files;
};