System: Load discord-rpc dynamically

This commit is contained in:
Stenzek
2024-07-04 14:40:16 +10:00
parent 00d2d862c2
commit f6d3a7987d
8 changed files with 87 additions and 32 deletions

View File

@ -3148,12 +3148,10 @@ void FullscreenUI::DrawInterfaceSettingsPage()
}
}
#ifdef ENABLE_DISCORD_PRESENCE
MenuHeading(FSUI_CSTR("Integration"));
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_CHARGING_STATION, "Enable Discord Presence"),
FSUI_CSTR("Shows the game you are currently playing as part of your profile in Discord."), "Main",
"EnableDiscordPresence", false);
#endif
MenuHeading(FSUI_CSTR("On-Screen Display"));
DrawIntSpinBoxSetting(bsi, FSUI_ICONSTR(ICON_FA_SEARCH, "OSD Scale"),