mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-31 07:59:02 -05:00 
			
		
		
		
	fix:return proper error
This commit is contained in:
		| @@ -144,11 +144,12 @@ ResultStatus LoadFile(const std::string& filename) { | ||||
|     case FileType::CCI: | ||||
|     { | ||||
|         // Load application and RomFS | ||||
|         if (ResultStatus::Success == app_loader->Load()) { | ||||
|         ResultStatus result = app_loader->Load(); | ||||
|         if (ResultStatus::Success == result) { | ||||
|             Service::FS::RegisterArchiveType(std::make_unique<FileSys::ArchiveFactory_RomFS>(*app_loader), Service::FS::ArchiveIdCode::RomFS); | ||||
|             return ResultStatus::Success; | ||||
|         } | ||||
|         break; | ||||
|         return result; | ||||
|     } | ||||
|  | ||||
|     // Standard ELF file format... | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 wwylele
					wwylele