mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Some tidy up of sprintf to StringFromFormat
This commit is contained in:
parent
64e01ec763
commit
ebff7974c3
13 changed files with 64 additions and 111 deletions
|
@ -600,9 +600,10 @@ void VertexLoader::CompileVertexTranslator()
|
|||
|
||||
if (pFunc == 0)
|
||||
{
|
||||
char temp[256];
|
||||
sprintf(temp,"%i %i %i %i", m_VtxDesc.Normal, m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3);
|
||||
Host_SysMessage("VertexLoader_Normal::GetFunction returned zero!");
|
||||
Host_SysMessage(
|
||||
StringFromFormat("VertexLoader_Normal::GetFunction(%i %i %i %i) returned zero!",
|
||||
m_VtxDesc.Normal, m_VtxAttr.NormalFormat,
|
||||
m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3).c_str());
|
||||
}
|
||||
WriteCall(pFunc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue