diff options
| author | bunnei <bunneidev@gmail.com> | 2018-03-04 15:49:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-04 15:49:42 -0500 |
| commit | 80562aaf64413f5740138dba70393789d10de580 (patch) | |
| tree | 01b8f6a28202295b25eaa90e8cbbef5a9b3c0c6f /src/core/hle/service/filesystem/filesystem.h | |
| parent | 3c3d5eeddf34bc52b2770df8f1c4cda1dc8e5b77 (diff) | |
| parent | 84e1c0a43016e4c0e99aa50b1486af53b7d05513 (diff) | |
Merge pull request #229 from Subv/ensuresavedata_impl
FS: Make EnsureSaveData create the save data if it doesn't already exist.
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.h')
| -rw-r--r-- | src/core/hle/service/filesystem/filesystem.h | 7 |
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); |
