summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OnScreenUI.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2024-06-19 02:29:08 -0400
committerGitHub <noreply@github.com>2024-06-19 02:29:08 -0400
commit9886199cb17d2ab6f69c03b21c321d2eacbaf18b (patch)
treeb2251002fff0cc02d6104999c34af72bda01a3e7 /Source/Core/VideoCommon/OnScreenUI.cpp
parenta0d8c1088d13cc73c6a004fbbfcb964eff538fbb (diff)
parent7eec723f3ff5cd8525bb47b1e27297c0c73eec79 (diff)
Merge pull request #12859 from LillyJadeKatrin/retroachievements-challenge-hide
Hide Challenge Icons when OSD Messages Disabled
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp')
-rw-r--r--Source/Core/VideoCommon/OnScreenUI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/OnScreenUI.cpp b/Source/Core/VideoCommon/OnScreenUI.cpp
index 61e59484e4..e7c5d6959f 100644
--- a/Source/Core/VideoCommon/OnScreenUI.cpp
+++ b/Source/Core/VideoCommon/OnScreenUI.cpp
@@ -333,6 +333,8 @@ void OnScreenUI::DrawDebugText()
void OnScreenUI::DrawChallengesAndLeaderboards()
{
+ if (!Config::Get(Config::MAIN_OSD_MESSAGES))
+ return;
#ifdef USE_RETRO_ACHIEVEMENTS
auto& instance = AchievementManager::GetInstance();
std::lock_guard lg{instance.GetLock()};