summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-02-17 00:02:12 +0100
committerGitHub <noreply@github.com>2022-02-17 00:02:12 +0100
commitd9e0bf72dcc2cf6f62b7406829deaf1d2c405986 (patch)
tree7f5f17fec3b28fd1f0d85c36e824c4d5d162bb02 /Source/Core/VideoCommon
parentbb097c0576d4ea847f627b31887399f152e50e12 (diff)
parentbe81fe86e19e3afc70fc9190fd8f5f18f906c0eb (diff)
Merge pull request #10456 from merryhime/rm-StringFromFormatV
JitRegister: Use fmt
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderX64.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderX64.cpp b/Source/Core/VideoCommon/VertexLoaderX64.cpp
index 40ae508219..7a4929361d 100644
--- a/Source/Core/VideoCommon/VertexLoaderX64.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderX64.cpp
@@ -50,9 +50,8 @@ VertexLoaderX64::VertexLoaderX64(const TVtxDesc& vtx_desc, const VAT& vtx_att)
GenerateVertexLoader();
WriteProtect();
- const std::string name =
- fmt::format("VertexLoaderX64\nVtx desc: \n{}\nVAT:\n{}", vtx_desc, vtx_att);
- JitRegister::Register(region, GetCodePtr(), name.c_str());
+ JitRegister::Register(region, GetCodePtr(), "VertexLoaderX64\nVtx desc: \n{}\nVAT:\n{}", vtx_desc,
+ vtx_att);
}
OpArg VertexLoaderX64::GetVertexAddr(CPArray array, VertexComponentFormat attribute)