mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
Patch: Fix incorrect format string on patch error
This commit is contained in:
1 parent
34cd53249d
commit
4c8cba53ef
1 file changed
+2
-2
+2
-2
@@ -265,13 +265,13 @@ namespace PatchFunc
|
||||
|
||||
if (iPatch.cpu == 0)
|
||||
{
|
||||
PATCH_ERROR("Unrecognized CPU Target: '%s'", static_cast<int>(pieces[1].size()), pieces[1].data());
|
||||
PATCH_ERROR("Unrecognized CPU Target: '%.*s'", static_cast<int>(pieces[1].size()), pieces[1].data());
|
||||
return;
|
||||
}
|
||||
|
||||
if (iPatch.type == 0)
|
||||
{
|
||||
PATCH_ERROR("Unrecognized Operand Size: '%s'", static_cast<int>(pieces[3].size()), pieces[3].data());
|
||||
PATCH_ERROR("Unrecognized Operand Size: '%.*s'", static_cast<int>(pieces[3].size()), pieces[3].data());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user