mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Hide Challenge Icons when OSD Messages Disabled
This commit is contained in:
parent
b0f8520a3d
commit
7eec723f3f
@ -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
|
||||||
std::lock_guard lg{AchievementManager::GetInstance().GetLock()};
|
std::lock_guard lg{AchievementManager::GetInstance().GetLock()};
|
||||||
const auto& challenge_icons = AchievementManager::GetInstance().GetChallengeIcons();
|
const auto& challenge_icons = AchievementManager::GetInstance().GetChallengeIcons();
|
||||||
|
Loading…
Reference in New Issue
Block a user