diff options
| author | bunnei <bunneidev@gmail.com> | 2018-03-01 22:14:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-01 22:14:31 -0500 |
| commit | 46fc7d85023f4449b542f0c58830421d667f92b7 (patch) | |
| tree | a605aabd8c776bebea1111fccd8df01d569d5170 /src/core/file_sys/romfs_filesystem.h | |
| parent | b1709410dd9b1f9ed9bf76f54ce82b5e7f89ab66 (diff) | |
| parent | 3209cff5307ab16044ccc22e6b922545aae8215d (diff) | |
Merge pull request #216 from Subv/savedata
Implemented the SaveData archive and MountSaveData.
Diffstat (limited to 'src/core/file_sys/romfs_filesystem.h')
| -rw-r--r-- | src/core/file_sys/romfs_filesystem.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/file_sys/romfs_filesystem.h b/src/core/file_sys/romfs_filesystem.h index 900ea567a..cedd70645 100644 --- a/src/core/file_sys/romfs_filesystem.h +++ b/src/core/file_sys/romfs_filesystem.h @@ -29,17 +29,18 @@ public: std::string GetName() const override; - ResultVal<std::unique_ptr<StorageBackend>> OpenFile(const Path& path, - const Mode& mode) const override; + ResultVal<std::unique_ptr<StorageBackend>> OpenFile(const std::string& path, + Mode mode) const override; ResultCode DeleteFile(const Path& path) const override; ResultCode RenameFile(const Path& src_path, const Path& dest_path) const override; ResultCode DeleteDirectory(const Path& path) const override; ResultCode DeleteDirectoryRecursively(const Path& path) const override; - ResultCode CreateFile(const Path& path, u64 size) const override; + ResultCode CreateFile(const std::string& path, u64 size) const override; ResultCode CreateDirectory(const Path& path) const override; ResultCode RenameDirectory(const Path& src_path, const Path& dest_path) const override; ResultVal<std::unique_ptr<DirectoryBackend>> OpenDirectory(const Path& path) const override; u64 GetFreeSpaceSize() const override; + ResultVal<EntryType> GetEntryType(const std::string& path) const override; protected: std::shared_ptr<FileUtil::IOFile> romfs_file; |
