Patch: Fix some incorrect format strings
Some checks failed
🐧 Linux Builds / AppImage (push) Waiting to run
🐧 Linux Builds / Flatpak (push) Waiting to run
🍎 MacOS Builds / Defaults (push) Waiting to run
🖥️ Windows Builds / Lint VS Project Files (push) Waiting to run
🖥️ Windows Builds / SSE4 (push) Blocked by required conditions
🖥️ Windows Builds / AVX2 (push) Blocked by required conditions
🖥️ Windows Builds / CMake (push) Waiting to run
🏭 Update Controller Database / update-controller-db (push) Has been cancelled

This commit is contained in:
chaoticgd 2025-10-20 14:21:19 +01:00 committed by GovanifY
parent 3db21e0579
commit 906ac6a8ea

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)