mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-06-01 15:58:21 -04:00
Expand Type column of the report to fit new FlashDeviceMap store and entry types
This commit is contained in:
parent
3cb5dc0165
commit
fbf6afdfc8
2 changed files with 2 additions and 3 deletions
common
|
@ -33,7 +33,7 @@ std::vector<UString> FfsReport::generate()
|
|||
}
|
||||
|
||||
// Generate report recursive
|
||||
report.push_back(UString(" Type | Subtype | Base | Size | CRC32 | Name "));
|
||||
report.push_back(UString(" Type | Subtype | Base | Size | CRC32 | Name "));
|
||||
USTATUS result = generateRecursive(report, root);
|
||||
if (result) {
|
||||
report.push_back(usprintf("%s: generateRecursive returned ", __FUNCTION__) + errorCodeToUString(result));
|
||||
|
@ -59,7 +59,7 @@ USTATUS FfsReport::generateRecursive(std::vector<UString> & report, const UModel
|
|||
}
|
||||
|
||||
report.push_back(
|
||||
UString(" ") + itemTypeToUString(model->type(index)).leftJustified(16)
|
||||
UString(" ") + itemTypeToUString(model->type(index)).leftJustified(20)
|
||||
+ UString("| ") + itemSubtypeToUString(model->type(index), model->subtype(index)).leftJustified(22)
|
||||
+ offset
|
||||
+ usprintf("| %08X | %08X | ", (UINT32)data.size(), crc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue