mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 22:54:47 -04:00
Fix compressed flag not being applied to the items inside GZip and Zlib GUIDed sections
This commit is contained in:
parent
fa5d744aac
commit
507f884635
2 changed files with 4 additions and 1 deletions
|
@ -2904,7 +2904,8 @@ USTATUS FfsParser::parseGuidedSectionBody(const UModelIndex & index)
|
|||
msg(usprintf("%s: decompression failed with error ", __FUNCTION__) + errorCodeToUString(result), index);
|
||||
return U_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
algorithm = COMPRESSION_ALGORITHM_GZIP;
|
||||
info += UString("\nCompression algorithm: GZip");
|
||||
info += usprintf("\nDecompressed size: %Xh (%u)", (UINT32)processed.size(), (UINT32)processed.size());
|
||||
}
|
||||
|
@ -2916,6 +2917,7 @@ USTATUS FfsParser::parseGuidedSectionBody(const UModelIndex & index)
|
|||
return U_SUCCESS;
|
||||
}
|
||||
|
||||
algorithm = COMPRESSION_ALGORITHM_ZLIB;
|
||||
info += UString("\nCompression algorithm: Zlib");
|
||||
info += usprintf("\nDecompressed size: %Xh (%u)", (UINT32)processed.size(), (UINT32)processed.size());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue