diff options
| author | LillyJadeKatrin <lilly.kitty.1988@gmail.com> | 2024-06-14 00:19:45 -0400 |
|---|---|---|
| committer | LillyJadeKatrin <lilly.kitty.1988@gmail.com> | 2024-06-14 00:19:45 -0400 |
| commit | 7eec723f3ff5cd8525bb47b1e27297c0c73eec79 (patch) | |
| tree | 6f949c85c5c53a1552c5b245c4168418725410bf /Source/Core/VideoCommon | |
| parent | b0f8520a3d8fc39bbd4364f9c382b97363566936 (diff) | |
Hide Challenge Icons when OSD Messages Disabled
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/OnScreenUI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/OnScreenUI.cpp b/Source/Core/VideoCommon/OnScreenUI.cpp index 1d5a432d8a..e1693b814f 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 std::lock_guard lg{AchievementManager::GetInstance().GetLock()}; const auto& challenge_icons = AchievementManager::GetInstance().GetChallengeIcons(); |
