summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/patch_manager.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-11-28 20:01:09 +0100
committerZach Hilman <zachhilman@gmail.com>2018-12-03 23:21:25 +0100
commit0cea05cdf7c258715fb39572cfb124003fae7810 (patch)
tree289ce3595decd4b64d1b1f0e3bed32dfcb03ed94 /src/core/file_sys/patch_manager.h
parentcore: Make GetGameFileFromPath function externally accessible (diff)
downloadyuzu-0cea05cdf7c258715fb39572cfb124003fae7810.tar
yuzu-0cea05cdf7c258715fb39572cfb124003fae7810.tar.gz
yuzu-0cea05cdf7c258715fb39572cfb124003fae7810.tar.bz2
yuzu-0cea05cdf7c258715fb39572cfb124003fae7810.tar.lz
yuzu-0cea05cdf7c258715fb39572cfb124003fae7810.tar.xz
yuzu-0cea05cdf7c258715fb39572cfb124003fae7810.tar.zst
yuzu-0cea05cdf7c258715fb39572cfb124003fae7810.zip
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
-rw-r--r--src/core/file_sys/patch_manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h
index 7d168837f..b8a1652fd 100644
--- a/src/core/file_sys/patch_manager.h
+++ b/src/core/file_sys/patch_manager.h
@@ -30,6 +30,8 @@ public:
explicit PatchManager(u64 title_id);
~PatchManager();
+ u64 GetTitleID() const;
+
// Currently tracked ExeFS patches:
// - Game Updates
VirtualDir PatchExeFS(VirtualDir exefs) const;
@@ -63,6 +65,9 @@ public:
std::pair<std::unique_ptr<NACP>, VirtualFile> ParseControlNCA(const NCA& nca) const;
private:
+ std::vector<VirtualFile> CollectPatches(const std::vector<VirtualDir>& patch_dirs,
+ const std::string& build_id) const;
+
u64 title_id;
};