mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 16:08:23 +08:00
Fix #152, caused by multiple body match
This commit is contained in:
parent
e1c0b08fc0
commit
d9325c22fe
@ -109,6 +109,8 @@ USTATUS FfsDumper::recursiveDump(const UModelIndex & index, const UString & path
|
||||
fileIndex = index;
|
||||
}
|
||||
|
||||
// We may select parent file during ffs extraction.
|
||||
if (fileList.count(fileIndex) == 0) {
|
||||
fileList.insert(fileIndex);
|
||||
|
||||
UString filename;
|
||||
@ -133,6 +135,7 @@ USTATUS FfsDumper::recursiveDump(const UModelIndex & index, const UString & path
|
||||
dumped = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Always dump info unless explicitly prohibited
|
||||
if ((dumpMode == DUMP_ALL || dumpMode == DUMP_CURRENT || dumpMode == DUMP_INFO)
|
||||
|
Loading…
Reference in New Issue
Block a user