summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-12-02 21:48:01 +0100
committerLéo Lam <leo@innovatetechnologi.es>2017-12-02 21:48:01 +0100
commit67ba326ff6e9db7227ee9992501e1e319a0652c7 (patch)
tree7ca2aaa5bb47634cb54864a532a812487187dc04 /Source/Core/VideoCommon/BPStructs.cpp
parentd71f4168e94f1ced736461bd62ec39e46be3c78f (diff)
VideoCommon: Fix -Wformat warnings
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp
index 5bf53832c3..108a478035 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -1017,7 +1017,7 @@ void GetBPRegInfo(const u8* data, std::string* name, std::string* desc)
(copy.clamp0 && copy.clamp1) ? "Top and Bottom" : (copy.clamp0) ?
"Top only" :
(copy.clamp1) ? "Bottom only" : "None",
- no_yes[copy.yuv], copy.tp_realFormat(),
+ no_yes[copy.yuv], static_cast<int>(copy.tp_realFormat()),
(copy.gamma == 0) ? "1.0" : (copy.gamma == 1) ?
"1.7" :
(copy.gamma == 2) ? "2.2" : "Invalid value 0x3?",