Do not overwrite extracted files in UEFIExtract

This commit is contained in:
vit9696 2018-06-12 17:14:32 +03:00
parent dccc335886
commit d23c1a682a
2 changed files with 18 additions and 4 deletions

View file

@ -37,7 +37,7 @@ public:
static const UINT8 IgnoreSectionType = 0xFF;
explicit FfsDumper(TreeModel * treeModel) : model(treeModel), dumped(false) {}
explicit FfsDumper(TreeModel * treeModel) : model(treeModel), dumped(false), counter(0) {}
~FfsDumper() {};
USTATUS dump(const QModelIndex & root, const QString & path, const DumpMode dumpMode = DUMP_CURRENT, const UINT8 sectionType = IgnoreSectionType, const QString & guid = QString());
@ -46,5 +46,6 @@ private:
USTATUS recursiveDump(const QModelIndex & root, const QString & path, const DumpMode dumpMode, const UINT8 sectionType, const QString & guid);
TreeModel* model;
bool dumped;
int counter;
};
#endif // FFSDUMPER_H