Patch: Fix some incorrect format strings

This commit is contained in:
chaoticgd authored and GovanifY committed 2025-10-20 15:38:33 +02:00
1 parent 3db21e0579
commit 906ac6a8ea
1 file changed
+2 -2
+2 -2
View File
@@ -902,12 +902,12 @@ void Patch::PatchFunc::patch(PatchGroup* group, const std::string_view cmd, cons
}
if (!cpu.has_value())
{
PATCH_ERROR("Unrecognized CPU Target: '%.*s'", pieces[1]);
PATCH_ERROR("Unrecognized CPU Target: '{}'", pieces[1]);
return;
}
if (!type.has_value())
{
PATCH_ERROR("Unrecognized Operand Size: '%.*s'", pieces[3]);
PATCH_ERROR("Unrecognized Operand Size: '{}'", pieces[3]);
return;
}
if (type.value() != BYTES_T)