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, 3 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index d3806aeaa7..772bb1f1f8 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -600,10 +600,9 @@ void VertexLoader::CompileVertexTranslator()
if (pFunc == 0)
{
- 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());
+ 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!");
}
WriteCall(pFunc);