mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Replace some fmt::format with fmt::append
This commit is contained in:
parent
c41130080d
commit
2db607c716
5 changed files with 35 additions and 39 deletions
|
|
@ -351,10 +351,10 @@ void MetadataInfo::Show() const
|
|||
std::string iv_pad_str;
|
||||
for (int i = 0; i < 0x10; i++)
|
||||
{
|
||||
key_str += fmt::format("%02x", key[i]);
|
||||
key_pad_str += fmt::format("%02x", key_pad[i]);
|
||||
iv_str += fmt::format("%02x", iv[i]);
|
||||
iv_pad_str += fmt::format("%02x", iv_pad[i]);
|
||||
fmt::append(key_str, "%02x", key[i]);
|
||||
fmt::append(key_pad_str, "%02x", key_pad[i]);
|
||||
fmt::append(iv_str, "%02x", iv[i]);
|
||||
fmt::append(iv_pad_str, "%02x", iv_pad[i]);
|
||||
}
|
||||
|
||||
self_log.notice("Key: %s", key_str.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue