mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-12 22:26:13 -04:00
UEFIPatch 0.2.2
-corrected typo in program name -compiled with new ffsEngine -hex values are printed uppercase
This commit is contained in:
parent
a400c2ef8f
commit
1513dfcf4e
3 changed files with 6 additions and 5 deletions
|
@ -197,6 +197,7 @@ void FfsEngine::msg(const QString & message, const QModelIndex & index)
|
|||
#ifndef _CONSOLE
|
||||
messageItems.enqueue(MessageListItem(message, NULL, 0, index));
|
||||
#else
|
||||
(void) index;
|
||||
std::cout << message.toLatin1().constData() << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
@ -3815,7 +3816,7 @@ UINT8 FfsEngine::patchViaOffset(QByteArray & data, const UINT32 offset, const QB
|
|||
.arg(replacePattern.length())
|
||||
.hexarg(offset, 8)
|
||||
.arg(QString(data.mid(offset, replacePattern.length()).toHex()).toUpper())
|
||||
.arg(QString(replacePattern.toHex())).toUpper());
|
||||
.arg(QString(replacePattern.toHex()).toUpper()));
|
||||
data = body;
|
||||
return ERR_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue