mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-12 22:26:13 -04:00
UT NE A30, UE 0.12.1, UD 0.1.0
- engine modifications require to make a new release of UT and UE - UEFIDump 0.1.0 with Qt-free engine, at last
This commit is contained in:
parent
a4a8ebba76
commit
589dbd5719
3 changed files with 5 additions and 5 deletions
|
@ -1028,9 +1028,9 @@ USTATUS FfsParser::parseVolumeHeader(const UByteArray & volume, const UINT32 par
|
|||
UINT32 alignment = 65536; // Default volume alignment is 64K
|
||||
if (volumeHeader->Revision == 1) {
|
||||
// Acquire alignment capability bit
|
||||
BOOLEAN alignmentCap = volumeHeader->Attributes & EFI_FVB_ALIGNMENT_CAP;
|
||||
bool alignmentCap = (volumeHeader->Attributes & EFI_FVB_ALIGNMENT_CAP) != 0;
|
||||
if (!alignmentCap) {
|
||||
if ((volumeHeader->Attributes & 0xFFFF0000))
|
||||
if (volumeHeader->Attributes & 0xFFFF0000)
|
||||
msgAlignmentBitsSet = true;
|
||||
}
|
||||
// Do not check for volume alignment on revision 1 volumes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue