diff --git a/Common/UI/IconCache.h b/Common/UI/IconCache.h index c6c6dc01bb..1f4aa52bb8 100644 --- a/Common/UI/IconCache.h +++ b/Common/UI/IconCache.h @@ -51,16 +51,6 @@ public: IconCacheStats GetStats(); - // for testing - std::string GetFirstIconName() const { - if (!cache_.empty()) { - return cache_.begin()->first; - } else if (!pending_.empty()) { - return *pending_.begin(); - } - return ""; - } - private: void Decimate(int64_t maxSize); diff --git a/Core/Config.cpp b/Core/Config.cpp index 6786412161..030d828fda 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -279,6 +279,7 @@ static const ConfigSetting achievementSettings[] = { ConfigSetting("AchievementsUserName", &g_Config.sAchievementsUserName, "", CfgFlag::DEFAULT), // Customizations + ConfigSetting("AchievementsSoundEffects", &g_Config.bAchievementsSoundEffects, true, CfgFlag::DEFAULT), ConfigSetting("AchievementsUnlockAudioFile", &g_Config.sAchievementsUnlockAudioFile, "", CfgFlag::DEFAULT), ConfigSetting("AchievementsLeaderboardSubmitAudioFile", &g_Config.sAchievementsLeaderboardSubmitAudioFile, "", CfgFlag::DEFAULT), };