mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	file_sys: Clang format fixes.
This commit is contained in:
		
							parent
							
								
									8e50d6002b
								
							
						
					
					
						commit
						5035d18baa
					
				@ -139,7 +139,7 @@ public:
 | 
				
			|||||||
     * @return Opened file, or error code
 | 
					     * @return Opened file, or error code
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    virtual ResultVal<std::unique_ptr<StorageBackend>> OpenFile(const Path& path,
 | 
					    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 path
 | 
					     * Open a directory specified by its path
 | 
				
			||||||
 | 
				
			|||||||
@ -23,8 +23,7 @@ ResultVal<std::unique_ptr<FileSystemBackend>> RomFS_Factory::Open(const Path& pa
 | 
				
			|||||||
    return MakeResult<std::unique_ptr<FileSystemBackend>>(std::move(archive));
 | 
					    return MakeResult<std::unique_ptr<FileSystemBackend>>(std::move(archive));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ResultCode RomFS_Factory::Format(const Path& path,
 | 
					ResultCode RomFS_Factory::Format(const Path& path, const FileSys::ArchiveFormatInfo& format_info) {
 | 
				
			||||||
                                        const FileSys::ArchiveFormatInfo& format_info) {
 | 
					 | 
				
			||||||
    LOG_ERROR(Service_FS, "Unimplemented Format archive %s", GetName().c_str());
 | 
					    LOG_ERROR(Service_FS, "Unimplemented Format archive %s", GetName().c_str());
 | 
				
			||||||
    // TODO(bunnei): Find the right error code for this
 | 
					    // TODO(bunnei): Find the right error code for this
 | 
				
			||||||
    return ResultCode(-1);
 | 
					    return ResultCode(-1);
 | 
				
			||||||
 | 
				
			|||||||
@ -69,7 +69,8 @@ ResultCode RomFS_FileSystem::RenameDirectory(const Path& src_path, const Path& d
 | 
				
			|||||||
    return ResultCode(-1);
 | 
					    return 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>());
 | 
					    return MakeResult<std::unique_ptr<DirectoryBackend>>(std::make_unique<ROMFSDirectory>());
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user