mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #12859 from LillyJadeKatrin/retroachievements-challenge-hide
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
|
||||||
auto& instance = AchievementManager::GetInstance();
|
auto& instance = AchievementManager::GetInstance();
|
||||||
std::lock_guard lg{instance.GetLock()};
|
std::lock_guard lg{instance.GetLock()};
|
||||||
|
Reference in New Issue
Block a user