diff options
author | Subv <subv2112@gmail.com> | 2015-03-14 12:00:01 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-03-14 12:00:01 -0500 |
commit | 1d61cd446016badb1dd218a2a4692b1e5e3eeb14 (patch) | |
tree | 1900da40954404556fa05ed85be22537e500b740 /src/core/file_sys/archive_extsavedata.h | |
parent | ed5b275d21612906e6eeb4b1f344aa0f1eb31c10 (diff) |
Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and DeleteSystemSaveData
Also fixed a bug with CreateExtSaveData that made it unable to create ExtSaveData archives in the SDMC directory.
Diffstat (limited to 'src/core/file_sys/archive_extsavedata.h')
-rw-r--r-- | src/core/file_sys/archive_extsavedata.h | 10 |
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 83c6b029..c77c04e4 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 |