summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index 772bb1f1f8..d3806aeaa7 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -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);