diff options
| author | 2018-01-20 23:01:00 -0500 | |
|---|---|---|
| committer | 2018-01-21 15:51:45 -0500 | |
| commit | 5035d18baaad5cee4cbc671710de472b9f25a920 (patch) | |
| tree | 88be854c845cb826366acca96e07ccc62cc96695 /src/core/file_sys | |
| parent | fsp_srv: Various improvements to IStorage:Read implementation. (diff) | |
| download | yuzu-5035d18baaad5cee4cbc671710de472b9f25a920.tar.gz yuzu-5035d18baaad5cee4cbc671710de472b9f25a920.tar.xz yuzu-5035d18baaad5cee4cbc671710de472b9f25a920.zip | |
file_sys: Clang format fixes.
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/filesystem.h | 2 | ||||
| -rw-r--r-- | src/core/file_sys/romfs_factory.cpp | 3 | ||||
| -rw-r--r-- | src/core/file_sys/romfs_filesystem.cpp | 3 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/core/file_sys/filesystem.h b/src/core/file_sys/filesystem.h index eb3d9c4d6..02705506b 100644 --- a/src/core/file_sys/filesystem.h +++ b/src/core/file_sys/filesystem.h | |||
| @@ -139,7 +139,7 @@ public: | |||
| 139 | * @return Opened file, or error code | 139 | * @return Opened file, or error code |
| 140 | */ | 140 | */ |
| 141 | virtual ResultVal<std::unique_ptr<StorageBackend>> OpenFile(const Path& path, | 141 | virtual ResultVal<std::unique_ptr<StorageBackend>> OpenFile(const Path& path, |
| 142 | const Mode& mode) const = 0; | 142 | const Mode& mode) const = 0; |
| 143 | 143 | ||
| 144 | /** | 144 | /** |
| 145 | * Open a directory specified by its path | 145 | * Open a directory specified by its path |
diff --git a/src/core/file_sys/romfs_factory.cpp b/src/core/file_sys/romfs_factory.cpp index 590c2acb3..e0de49f05 100644 --- a/src/core/file_sys/romfs_factory.cpp +++ b/src/core/file_sys/romfs_factory.cpp | |||
| @@ -23,8 +23,7 @@ ResultVal<std::unique_ptr<FileSystemBackend>> RomFS_Factory::Open(const Path& pa | |||
| 23 | return MakeResult<std::unique_ptr<FileSystemBackend>>(std::move(archive)); | 23 | return MakeResult<std::unique_ptr<FileSystemBackend>>(std::move(archive)); |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | ResultCode RomFS_Factory::Format(const Path& path, | 26 | ResultCode RomFS_Factory::Format(const Path& path, const FileSys::ArchiveFormatInfo& format_info) { |
| 27 | const FileSys::ArchiveFormatInfo& format_info) { | ||
| 28 | LOG_ERROR(Service_FS, "Unimplemented Format archive %s", GetName().c_str()); | 27 | LOG_ERROR(Service_FS, "Unimplemented Format archive %s", GetName().c_str()); |
| 29 | // TODO(bunnei): Find the right error code for this | 28 | // TODO(bunnei): Find the right error code for this |
| 30 | return ResultCode(-1); | 29 | return ResultCode(-1); |
diff --git a/src/core/file_sys/romfs_filesystem.cpp b/src/core/file_sys/romfs_filesystem.cpp index 5b5c5a73e..ca1463d7c 100644 --- a/src/core/file_sys/romfs_filesystem.cpp +++ b/src/core/file_sys/romfs_filesystem.cpp | |||
| @@ -69,7 +69,8 @@ ResultCode RomFS_FileSystem::RenameDirectory(const Path& src_path, const Path& d | |||
| 69 | return ResultCode(-1); | 69 | return ResultCode(-1); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | ResultVal<std::unique_ptr<DirectoryBackend>> RomFS_FileSystem::OpenDirectory(const Path& path) const { | 72 | ResultVal<std::unique_ptr<DirectoryBackend>> RomFS_FileSystem::OpenDirectory( |
| 73 | const Path& path) const { | ||
| 73 | return MakeResult<std::unique_ptr<DirectoryBackend>>(std::make_unique<ROMFSDirectory>()); | 74 | return MakeResult<std::unique_ptr<DirectoryBackend>>(std::make_unique<ROMFSDirectory>()); |
| 74 | } | 75 | } |
| 75 | 76 | ||