mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
VertexLoaderBase: Return debug strings by value
An out parameter for this sort of thing is a C++03 hold-over. This also renames AppendToString to ToString.
This commit is contained in:
parent
8033a72f0b
commit
9859533ab4
4 changed files with 22 additions and 22 deletions
|
@ -51,8 +51,7 @@ VertexLoaderX64::VertexLoaderX64(const TVtxDesc& vtx_desc, const VAT& vtx_att)
|
|||
GenerateVertexLoader();
|
||||
WriteProtect();
|
||||
|
||||
std::string name;
|
||||
AppendToString(&name);
|
||||
const std::string name = ToString();
|
||||
JitRegister::Register(region, GetCodePtr(), name.c_str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue