patch_manager: add hash to applied log message

This commit is contained in:
Megamouse 2020-06-24 11:09:54 +02:00
parent 431e0eb30c
commit abec850379

View File

@ -605,11 +605,11 @@ std::size_t patch_engine::apply_patch(const std::string& name, u8* dst, u32 file
if (container.is_legacy)
{
patch_log.notice("Applied legacy patch (<- %d)", applied);
patch_log.notice("Applied legacy patch (hash='%s')(<- %d)", name, applied);
}
else
{
patch_log.notice("Applied patch (description='%s', author='%s', patch_version='%s', file_version='%s') (<- %d)", description, patch.author, patch.patch_version, patch.version, applied);
patch_log.notice("Applied patch (hash='%s', description='%s', author='%s', patch_version='%s', file_version='%s') (<- %d)", name, description, patch.author, patch.patch_version, patch.version, applied);
}
applied_total += applied;