mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 06:34:42 -04:00
Fix #152, caused by multiple body match
This commit is contained in:
parent
e1c0b08fc0
commit
d9325c22fe
1 changed files with 20 additions and 17 deletions
|
@ -109,6 +109,8 @@ USTATUS FfsDumper::recursiveDump(const UModelIndex & index, const UString & path
|
||||||
fileIndex = index;
|
fileIndex = index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We may select parent file during ffs extraction.
|
||||||
|
if (fileList.count(fileIndex) == 0) {
|
||||||
fileList.insert(fileIndex);
|
fileList.insert(fileIndex);
|
||||||
|
|
||||||
UString filename;
|
UString filename;
|
||||||
|
@ -133,6 +135,7 @@ USTATUS FfsDumper::recursiveDump(const UModelIndex & index, const UString & path
|
||||||
dumped = true;
|
dumped = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Always dump info unless explicitly prohibited
|
// Always dump info unless explicitly prohibited
|
||||||
if ((dumpMode == DUMP_ALL || dumpMode == DUMP_CURRENT || dumpMode == DUMP_INFO)
|
if ((dumpMode == DUMP_ALL || dumpMode == DUMP_CURRENT || dumpMode == DUMP_INFO)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue