aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/filesystem/filesystem.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-04 13:03:58 -0500
committerSubv <subv2112@gmail.com>2018-03-04 14:30:07 -0500
commit0eefe6e4d15cbc7a5902dfbe5e7742ef4ea71902 (patch)
treed6fbf1e18b6b17fcb089306af26c48331100814c /src/core/hle/service/filesystem/filesystem.h
parent7e7110b3b9f466d3e3f66605d94a2fa57a7724bb (diff)
FS: Make EnsureSaveData create the savedata folder when called for the first time.
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.h')
-rw-r--r--src/core/hle/service/filesystem/filesystem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.h b/src/core/hle/service/filesystem/filesystem.h
index 80f318676..8d30e94a1 100644
--- a/src/core/hle/service/filesystem/filesystem.h
+++ b/src/core/hle/service/filesystem/filesystem.h
@@ -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);