mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Make the arrays const
This commit is contained in:
		
							parent
							
								
									9d57325a8b
								
							
						
					
					
						commit
						0fe832bb49
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -315,7 +315,7 @@ Loader::ResultStatus NCCHContainer::Load() { | ||||||
|             const auto mods_path = |             const auto mods_path = | ||||||
|                 fmt::format("{}mods/{:016X}/", FileUtil::GetUserPath(FileUtil::UserPath::LoadDir), |                 fmt::format("{}mods/{:016X}/", FileUtil::GetUserPath(FileUtil::UserPath::LoadDir), | ||||||
|                             GetModId(ncch_header.program_id)); |                             GetModId(ncch_header.program_id)); | ||||||
|             std::array<std::string, 2> exheader_override_paths{{ |             const std::array<std::string, 2> exheader_override_paths{{ | ||||||
|                 mods_path + "exheader.bin", |                 mods_path + "exheader.bin", | ||||||
|                 filepath + ".exheader", |                 filepath + ".exheader", | ||||||
|             }}; |             }}; | ||||||
|  | @ -585,7 +585,7 @@ Loader::ResultStatus NCCHContainer::LoadOverrideExeFSSection(const char* name, | ||||||
|     const auto mods_path = |     const auto mods_path = | ||||||
|         fmt::format("{}mods/{:016X}/", FileUtil::GetUserPath(FileUtil::UserPath::LoadDir), |         fmt::format("{}mods/{:016X}/", FileUtil::GetUserPath(FileUtil::UserPath::LoadDir), | ||||||
|                     GetModId(ncch_header.program_id)); |                     GetModId(ncch_header.program_id)); | ||||||
|     std::array<std::string, 3> override_paths{{ |     const std::array<std::string, 3> override_paths{{ | ||||||
|         mods_path + "exefs/" + override_name, |         mods_path + "exefs/" + override_name, | ||||||
|         mods_path + override_name, |         mods_path + override_name, | ||||||
|         filepath + ".exefsdir/" + override_name, |         filepath + ".exefsdir/" + override_name, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue