mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	warn if cia contend is encrypted
This commit is contained in:
		
							parent
							
								
									ad3c464e2d
								
							
						
					
					
						commit
						ae4ba287d5
					
				
					 4 changed files with 84 additions and 4 deletions
				
			
		|  | @ -47,12 +47,16 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign | |||
|         if (!is_dir && HasSupportedFileExtension(physical_name)) { | ||||
|             std::unique_ptr<Loader::AppLoader> loader = Loader::GetLoader(physical_name); | ||||
|             if (!loader) | ||||
|             { | ||||
|                 return true; | ||||
|             } | ||||
| 
 | ||||
|             bool executable = false; | ||||
|             loader->IsExecutable(executable); | ||||
|             if (!executable) | ||||
|             auto res  = loader->IsExecutable(executable); | ||||
|             if (!executable && res != Loader::ResultStatus::ErrorEncrypted) | ||||
|             { | ||||
|                 return true; | ||||
|             } | ||||
| 
 | ||||
|             u64 program_id = 0; | ||||
|             loader->ReadProgramId(program_id); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue