Skip to content

Commit

Permalink
Merge pull request #12859 from LillyJadeKatrin/retroachievements-chal…
Browse files Browse the repository at this point in the history
…lenge-hide

Hide Challenge Icons when OSD Messages Disabled
  • Loading branch information
JMC47 committed Jun 19, 2024
2 parents a0d8c10 + 7eec723 commit 9886199
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/VideoCommon/OnScreenUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()};
Expand Down

0 comments on commit 9886199

Please sign in to comment.