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

@ -44,6 +44,13 @@ ResultCode RegisterFileSystem(std::unique_ptr<FileSys::FileSystemFactory>&& fact
ResultVal<std::unique_ptr<FileSys::FileSystemBackend>> OpenFileSystem(Type type,
FileSys::Path& path);
/**
* Formats a file system
* @param type Type of the file system to format
* @return ResultCode of the operation
*/
ResultCode FormatFileSystem(Type type);
/// Registers all Filesystem services with the specified service manager.
void InstallInterfaces(SM::ServiceManager& service_manager);