mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Some tidy up of sprintf to StringFromFormat
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user