mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Use new config system for Discord Rich Presence option
This doesn't feel like a mirror change to me.
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
|
||||
#include "Common/Config/Config.h"
|
||||
#include "Core/Config/GraphicsSettings.h"
|
||||
#include "UICommon/DiscordPresence.h"
|
||||
|
||||
namespace ConfigLoaders
|
||||
{
|
||||
@ -115,6 +116,10 @@ bool IsSettingSaveable(const Config::ConfigLocation& config_location)
|
||||
|
||||
Config::GFX_PERF_QUERIES_ENABLE.location,
|
||||
|
||||
// Main.General
|
||||
|
||||
MAIN_USE_DISCORD_PRESENCE.location,
|
||||
|
||||
};
|
||||
|
||||
return std::find(s_setting_saveable.begin(), s_setting_saveable.end(), config_location) !=
|
||||
|
Reference in New Issue
Block a user