mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	Display errors in GUI when loading ROM failed
This commit is contained in:
		@@ -137,11 +137,12 @@ ResultStatus LoadFile(const std::string& filename) {
 | 
			
		||||
        AppLoader_NCCH app_loader(std::move(file), filename);
 | 
			
		||||
 | 
			
		||||
        // Load application and RomFS
 | 
			
		||||
        if (ResultStatus::Success == app_loader.Load()) {
 | 
			
		||||
        ResultStatus result = app_loader.Load();
 | 
			
		||||
        if (ResultStatus::Success == result) {
 | 
			
		||||
            Service::FS::RegisterArchiveType(Common::make_unique<FileSys::ArchiveFactory_RomFS>(app_loader), Service::FS::ArchiveIdCode::RomFS);
 | 
			
		||||
            return ResultStatus::Success;
 | 
			
		||||
        }
 | 
			
		||||
        break;
 | 
			
		||||
        return result;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // CIA file format...
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user