Merge pull request #12859 from LillyJadeKatrin/retroachievements-challenge-hide
Hide Challenge Icons when OSD Messages Disabled
This commit is contained in:
commit
9886199cb1
|
@ -333,6 +333,8 @@ void OnScreenUI::DrawDebugText()
|
||||||
|
|
||||||
void OnScreenUI::DrawChallengesAndLeaderboards()
|
void OnScreenUI::DrawChallengesAndLeaderboards()
|
||||||
{
|
{
|
||||||
|
if (!Config::Get(Config::MAIN_OSD_MESSAGES))
|
||||||
|
return;
|
||||||
#ifdef USE_RETRO_ACHIEVEMENTS
|
#ifdef USE_RETRO_ACHIEVEMENTS
|
||||||
auto& instance = AchievementManager::GetInstance();
|
auto& instance = AchievementManager::GetInstance();
|
||||||
std::lock_guard lg{instance.GetLock()};
|
std::lock_guard lg{instance.GetLock()};
|
||||||
|
|
Loading…
Reference in New Issue