mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 22:00:05 +00:00 
			
		
		
		
	Update the entire application to use the new clang format style
This commit is contained in:
		
							parent
							
								
									ed36edf69c
								
							
						
					
					
						commit
						f61141e86a
					
				
					 148 changed files with 955 additions and 552 deletions
				
			
		|  | @ -118,4 +118,4 @@ std::vector<u8> Path::AsBinary() const { | |||
|         return {}; | ||||
|     } | ||||
| } | ||||
| } | ||||
| } // namespace FileSys
 | ||||
|  |  | |||
|  | @ -245,8 +245,9 @@ void ArchiveFactory_SelfNCCH::Register(Loader::AppLoader& app_loader) { | |||
|               program_id); | ||||
| 
 | ||||
|     if (ncch_data.find(program_id) != ncch_data.end()) { | ||||
|         LOG_WARNING(Service_FS, "Registering program %016" PRIX64 | ||||
|                                 " with SelfNCCH will override existing mapping", | ||||
|         LOG_WARNING(Service_FS, | ||||
|                     "Registering program %016" PRIX64 | ||||
|                     " with SelfNCCH will override existing mapping", | ||||
|                     program_id); | ||||
|     } | ||||
| 
 | ||||
|  | @ -260,9 +261,9 @@ void ArchiveFactory_SelfNCCH::Register(Loader::AppLoader& app_loader) { | |||
|     } | ||||
| 
 | ||||
|     std::shared_ptr<FileUtil::IOFile> update_romfs_file; | ||||
|     if (Loader::ResultStatus::Success == | ||||
|         app_loader.ReadUpdateRomFS(update_romfs_file, data.update_romfs_offset, | ||||
|                                    data.update_romfs_size)) { | ||||
|     if (Loader::ResultStatus::Success == app_loader.ReadUpdateRomFS(update_romfs_file, | ||||
|                                                                     data.update_romfs_offset, | ||||
|                                                                     data.update_romfs_size)) { | ||||
| 
 | ||||
|         data.update_romfs_file = std::move(update_romfs_file); | ||||
|     } | ||||
|  |  | |||
|  | @ -225,4 +225,4 @@ void CIAContainer::Print() const { | |||
|         LOG_DEBUG(Service_FS, "Content %x Offset:   0x%08" PRIx64 " bytes", i, GetContentOffset(i)); | ||||
|     } | ||||
| } | ||||
| } | ||||
| } // namespace FileSys
 | ||||
|  |  | |||
|  | @ -215,13 +215,13 @@ public: | |||
|                                    u64& size); | ||||
| 
 | ||||
|     /**
 | ||||
|     * Get the override RomFS of the NCCH container | ||||
|     * Since the RomFS can be huge, we return a file reference instead of copying to a buffer | ||||
|     * @param romfs_file The file containing the RomFS | ||||
|     * @param offset The offset the romfs begins on | ||||
|     * @param size The size of the romfs | ||||
|     * @return ResultStatus result of function | ||||
|     */ | ||||
|      * Get the override RomFS of the NCCH container | ||||
|      * Since the RomFS can be huge, we return a file reference instead of copying to a buffer | ||||
|      * @param romfs_file The file containing the RomFS | ||||
|      * @param offset The offset the romfs begins on | ||||
|      * @param size The size of the romfs | ||||
|      * @return ResultStatus result of function | ||||
|      */ | ||||
|     Loader::ResultStatus ReadOverrideRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, | ||||
|                                            u64& offset, u64& size); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue