diff options
| author | XtraFear <xtrafear@gmail.com> | 2012-11-16 15:16:50 -0500 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@gmail.com> | 2012-11-16 23:54:48 +0100 |
| commit | d6697d50c774292158a0e7c16ccbea27f65dbc1e (patch) | |
| tree | c0ae0823da3d8a0074f5217f67d6957f0ae92a06 /Source/Core/VideoCommon/Src/OnScreenDisplay.cpp | |
| parent | a135512f9bf067eaf9ded6bcd5644d1a8448bf81 (diff) | |
Added option to toggle the display of On-Screen Display messages in the Interface tab.
Diffstat (limited to 'Source/Core/VideoCommon/Src/OnScreenDisplay.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/OnScreenDisplay.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/OnScreenDisplay.cpp b/Source/Core/VideoCommon/Src/OnScreenDisplay.cpp index f24bfc31b3..10cf5b84af 100644 --- a/Source/Core/VideoCommon/Src/OnScreenDisplay.cpp +++ b/Source/Core/VideoCommon/Src/OnScreenDisplay.cpp @@ -19,6 +19,7 @@ #include "Common.h" +#include "ConfigManager.h" #include "OnScreenDisplay.h" #include "RenderBase.h" #include "Timer.h" @@ -47,6 +48,8 @@ void AddMessage(const char* pstr, u32 ms) void DrawMessages() { + if(!SConfig::GetInstance().m_LocalCoreStartupParameter.bOnScreenDisplayMessages) return; + if (s_listMsgs.size() > 0) { int left = 25, top = 15; |
