FS: Make EnsureSaveData create the savedata folder when called for the first time.

This commit is contained in:
Subv 2018-03-04 13:03:58 -05:00
parent 7e7110b3b9
commit 0eefe6e4d1
8 changed files with 70 additions and 17 deletions

View file

@ -183,10 +183,9 @@ public:
/**
* Deletes the archive contents and then re-creates the base folder
* @param path Path to the archive
* @param format_info Format information for the new archive
* @return ResultCode of the operation, 0 on success
*/
virtual ResultCode Format(const Path& path, const FileSys::ArchiveFormatInfo& format_info) = 0;
virtual ResultCode Format(const Path& path) = 0;
/**
* Retrieves the format info about the archive with the specified path