summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_extsavedata.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-03-14 18:00:01 +0100
committerSubv <subv2112@gmail.com>2015-03-14 18:00:01 +0100
commit1d61cd446016badb1dd218a2a4692b1e5e3eeb14 (patch)
tree1900da40954404556fa05ed85be22537e500b740 /src/core/file_sys/archive_extsavedata.h
parentMerge pull request #642 from bunnei/touchpad (diff)
downloadyuzu-1d61cd446016badb1dd218a2a4692b1e5e3eeb14.tar
yuzu-1d61cd446016badb1dd218a2a4692b1e5e3eeb14.tar.gz
yuzu-1d61cd446016badb1dd218a2a4692b1e5e3eeb14.tar.bz2
yuzu-1d61cd446016badb1dd218a2a4692b1e5e3eeb14.tar.lz
yuzu-1d61cd446016badb1dd218a2a4692b1e5e3eeb14.tar.xz
yuzu-1d61cd446016badb1dd218a2a4692b1e5e3eeb14.tar.zst
yuzu-1d61cd446016badb1dd218a2a4692b1e5e3eeb14.zip
Diffstat (limited to 'src/core/file_sys/archive_extsavedata.h')
-rw-r--r--src/core/file_sys/archive_extsavedata.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_extsavedata.h b/src/core/file_sys/archive_extsavedata.h
index 83c6b0291..c77c04e44 100644
--- a/src/core/file_sys/archive_extsavedata.h
+++ b/src/core/file_sys/archive_extsavedata.h
@@ -58,4 +58,14 @@ std::string GetExtSaveDataPath(const std::string& mount_point, const Path& path)
*/
std::string GetExtDataContainerPath(const std::string& mount_point, bool shared);
+/**
+ * Constructs a FileSys::Path object that refers to the ExtData archive identified by
+ * the specified media type, high save id and low save id.
+ * @param media_type The media type where the archive is located (NAND / SDMC)
+ * @param high The high word of the save id for the archive
+ * @param low The low word of the save id for the archive
+ * @returns A FileSys::Path to the wanted archive
+ */
+Path ConstructExtDataBinaryPath(u32 media_type, u32 high, u32 low);
+
} // namespace FileSys