mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Fixed incorrect extended header size information
This commit is contained in:
parent
1b40fa32d7
commit
b9f4142aac
@ -900,7 +900,7 @@ UINT8 FfsEngine::parseVolume(const QByteArray & volume, QModelIndex & index, co
|
|||||||
if (volumeHeader->Revision > 1 && volumeHeader->ExtHeaderOffset) {
|
if (volumeHeader->Revision > 1 && volumeHeader->ExtHeaderOffset) {
|
||||||
EFI_FIRMWARE_VOLUME_EXT_HEADER* extendedHeader = (EFI_FIRMWARE_VOLUME_EXT_HEADER*)(volume.constData() + volumeHeader->ExtHeaderOffset);
|
EFI_FIRMWARE_VOLUME_EXT_HEADER* extendedHeader = (EFI_FIRMWARE_VOLUME_EXT_HEADER*)(volume.constData() + volumeHeader->ExtHeaderOffset);
|
||||||
info += tr("\nExtended header size: 0x%1\nVolume name: %2")
|
info += tr("\nExtended header size: 0x%1\nVolume name: %2")
|
||||||
.arg(extendedHeader->ExtHeaderSize, 8)
|
.hexarg(extendedHeader->ExtHeaderSize, 8)
|
||||||
.arg(guidToQString(extendedHeader->FvName));
|
.arg(guidToQString(extendedHeader->FvName));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user