VERY experimental Nintendo Switch 2 emulator
C++
file_sys: Clang format fixes.
bunneia2c082be79fd
diff --git a/src/core/file_sys/filesystem.h b/src/core/file_sys/filesystem.hindex eb3d9c4d66..02705506b9 100644--- a/src/core/file_sys/filesystem.h+++ b/src/core/file_sys/filesystem.h@@ -139,7 +139,7 @@ public:* @return Opened file, or error code*/virtual ResultVal<std::unique_ptr<StorageBackend>> OpenFile(const Path& path,- const Mode& mode) const = 0;+ const Mode& mode) const = 0;/*** Open a directory specified by its pathdiff --git a/src/core/file_sys/romfs_factory.cpp b/src/core/file_sys/romfs_factory.cppindex 590c2acb30..e0de49f050 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& pareturn MakeResult<std::unique_ptr<FileSystemBackend>>(std::move(archive));}-ResultCode RomFS_Factory::Format(const Path& path,- const FileSys::ArchiveFormatInfo& format_info) {+ResultCode RomFS_Factory::Format(const Path& path, const FileSys::ArchiveFormatInfo& format_info) {LOG_ERROR(Service_FS, "Unimplemented Format archive %s", GetName().c_str());// TODO(bunnei): Find the right error code for thisreturn ResultCode(-1);diff --git a/src/core/file_sys/romfs_filesystem.cpp b/src/core/file_sys/romfs_filesystem.cppindex 5b5c5a73e4..ca1463d7c9 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& dreturn ResultCode(-1);}-ResultVal<std::unique_ptr<DirectoryBackend>> RomFS_FileSystem::OpenDirectory(const Path& path) const {+ResultVal<std::unique_ptr<DirectoryBackend>> RomFS_FileSystem::OpenDirectory(+ const Path& path) const {return MakeResult<std::unique_ptr<DirectoryBackend>>(std::make_unique<ROMFSDirectory>());}