mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-24 17:08:23 +08:00
NE Alpha 39
This commit is contained in:
parent
f5f7f3664c
commit
7b18f346dd
@ -33,7 +33,7 @@ USTATUS NvramParser::parseNvarStore(const UModelIndex & index)
|
|||||||
UINT8 emptyByte = 0xFF;
|
UINT8 emptyByte = 0xFF;
|
||||||
UModelIndex parentFileIndex = model->findParentOfType(index, Types::File);
|
UModelIndex parentFileIndex = model->findParentOfType(index, Types::File);
|
||||||
if (parentFileIndex.isValid() && model->hasEmptyParsingData(parentFileIndex) == false) {
|
if (parentFileIndex.isValid() && model->hasEmptyParsingData(parentFileIndex) == false) {
|
||||||
UByteArray data = model->parsingData(index);
|
UByteArray data = model->parsingData(parentFileIndex);
|
||||||
const FILE_PARSING_DATA* pdata = (const FILE_PARSING_DATA*)data.constData();
|
const FILE_PARSING_DATA* pdata = (const FILE_PARSING_DATA*)data.constData();
|
||||||
emptyByte = pdata->emptyByte;
|
emptyByte = pdata->emptyByte;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user