diff options
| author | Subv <subv2112@gmail.com> | 2015-02-07 13:31:34 -0500 |
|---|---|---|
| committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-02-10 13:43:46 -0200 |
| commit | 1bbf0567b1889ebd57e3bcdf44b091e0ee18d125 (patch) | |
| tree | 78354d4084978ce01f469e569306ae1c6b57dcf1 /src/core/hle/service/fs/archive.h | |
| parent | 071663e07423cac6037c72153edafea1efe9da9f (diff) | |
Archives: Made the Format function more generic.
Diffstat (limited to 'src/core/hle/service/fs/archive.h')
| -rw-r--r-- | src/core/hle/service/fs/archive.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/hle/service/fs/archive.h b/src/core/hle/service/fs/archive.h index e27ad7d60..c490327d0 100644 --- a/src/core/hle/service/fs/archive.h +++ b/src/core/hle/service/fs/archive.h @@ -162,10 +162,13 @@ ResultVal<Kernel::SharedPtr<Directory>> OpenDirectoryFromArchive(ArchiveHandle a const FileSys::Path& path); /** - * Creates a blank SaveData archive. + * Erases the contents of the physical folder that contains the archive + * identified by the specified id code and path + * @param id_code The id of the archive to format + * @param path The path to the archive, if relevant. * @return ResultCode 0 on success or the corresponding code on error */ -ResultCode FormatSaveData(); +ResultCode FormatArchive(ArchiveIdCode id_code, const FileSys::Path& path = FileSys::Path()); /** * Creates a blank SharedExtSaveData archive for the specified extdata ID |
