- padding data was a part of the image, now BIOS region
This commit is contained in:
Nikolaj Schlej 2015-10-01 08:24:35 +02:00
parent 93881e4892
commit ed038c21bf

View File

@ -589,7 +589,7 @@ UINT8 FfsEngine::parseIntelImage(const QByteArray & intelImage, QModelIndex & in
return ERR_TRUNCATED_IMAGE; return ERR_TRUNCATED_IMAGE;
} }
else if (IntelDataEnd < (UINT32)intelImage.size()) { // Insert padding else if (IntelDataEnd < (UINT32)intelImage.size()) { // Insert padding
QByteArray padding = bios.right(intelImage.size() - IntelDataEnd); QByteArray padding = intelImage.mid(IntelDataEnd);
// Get info // Get info
name = tr("Padding"); name = tr("Padding");
info = tr("Full size: %1h (%2)") info = tr("Full size: %1h (%2)")