Skip to content

Commit c5136f1

Browse files
committed
Force Project+ cover and gamename for netplay
1 parent a6c7fbf commit c5136f1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Source/Core/UICommon/DiscordPresence.cpp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,15 @@ void UpdateDiscordPresence(int party_size, SecretType type, const std::string& s
226226
DiscordRichPresence discord_presence = {};
227227
if (game_artwork.empty())
228228
{
229-
discord_presence.largeImageKey = "dolphin_logo";
230-
discord_presence.largeImageText = "Dolphin is an emulator for the GameCube and the Wii.";
229+
discord_presence.largeImageKey = "https://art.gametdb.com/wii/coverB/US/RSBEPL.png";
230+
discord_presence.largeImageText = "Project+";
231+
}
232+
else if (SConfig::GetInstance().GetGameID() == "RSBE01" || "ID-Project+ Netplay Launcher")
233+
{
234+
discord_presence.largeImageKey = "https://art.gametdb.com/wii/coverB/US/RSBEPL.png";
235+
discord_presence.largeImageText = "Project+";
236+
discord_presence.smallImageKey = "https://art.gametdb.com/wii/coverB/US/RSBEPL.png";
237+
discord_presence.smallImageText = "Project+ is a modification for SSBB with competitive gameplay in mind.";
231238
}
232239
else
233240
{
@@ -241,7 +248,6 @@ void UpdateDiscordPresence(int party_size, SecretType type, const std::string& s
241248
else if (SConfig::GetInstance().GetGameID() == "RSBE01" || "ID-Project+ Netplay Launcher")
242249
{
243250
discord_presence.details = "Project+";
244-
discord_presence.largeImageText = "Project+";
245251
}
246252
else
247253
discord_presence.details = title.c_str();

0 commit comments

Comments
 (0)