mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Hide Challenge Icons when OSD Messages Disabled
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user