mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-24 20:14:39 -04:00
Fix obvious mistakes and avoid the use of unimplemented parser data for compression algo
This commit is contained in:
parent
0a1987fcde
commit
717821de2b
10 changed files with 68 additions and 21 deletions
|
@ -82,6 +82,9 @@ public:
|
|||
bool compressed() const { return itemCompressed; }
|
||||
void setCompressed(const bool compressed) { itemCompressed = compressed; }
|
||||
|
||||
bool compression() const { return itemCompression; }
|
||||
void setCompression(const UINT8 compression) { itemCompression = compression; }
|
||||
|
||||
UByteArray parsingData() const { return itemParsingData; };
|
||||
bool hasEmptyParsingData() const { return itemParsingData.isEmpty(); }
|
||||
void setParsingData(const UByteArray & pdata) { itemParsingData = pdata; }
|
||||
|
@ -104,6 +107,7 @@ private:
|
|||
UByteArray itemTail;
|
||||
bool itemFixed;
|
||||
bool itemCompressed;
|
||||
UINT8 itemCompression;
|
||||
UByteArray itemParsingData;
|
||||
TreeItem* parentItem;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue