summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2015-10-17 03:44:28 +0200
committerPierre Bourdon <delroth@gmail.com>2015-10-17 03:44:28 +0200
commitc0d157e6f6d4e482d7639bc9af05a21090a34ec4 (patch)
treea126081ec302cf22370a1d27a58612833eea1b85 /Source/Core/VideoCommon/PixelShaderGen.cpp
parent763f17beaf1a10ce7746fe0232c2c1673fbb0159 (diff)
parent2fc2b82963a5f0e3e212a447c223b2e7bcb5e5e5 (diff)
Merge pull request #3175 from imirkin/master
make gcc check the printf format strings
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index b6b5b7e369..16f24cacb2 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -184,7 +184,7 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T
out.Write("//Pixel Shader for TEV stages\n");
out.Write("//%i TEV stages, %i texgens, %i IND stages\n",
- numStages, numTexgen, bpmem.genMode.numindstages);
+ numStages, numTexgen, bpmem.genMode.numindstages.Value());
uid_data->dstAlphaMode = dstAlphaMode;
uid_data->genMode_numindstages = bpmem.genMode.numindstages;