mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Fix subguid search in uefiextract
This commit is contained in:
parent
b60a49bef3
commit
dccc335886
@ -36,6 +36,8 @@ USTATUS FfsDumper::recursiveDump(const QModelIndex & index, const QString & path
|
||||
|
||||
QDir dir;
|
||||
if (guid.isEmpty() ||
|
||||
(model->subtype(index) == EFI_SECTION_FREEFORM_SUBTYPE_GUID &&
|
||||
guidToUString(*(const EFI_GUID*)(model->header(index).constData() + sizeof(EFI_COMMON_SECTION_HEADER))) == guid) ||
|
||||
guidToUString(*(const EFI_GUID*)model->header(index).constData()) == guid ||
|
||||
guidToUString(*(const EFI_GUID*)model->header(model->findParentOfType(index, Types::File)).constData()) == guid) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user