mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
minor chanege
This commit is contained in:
parent
92812b9fb0
commit
599635e347
1 changed files with 11 additions and 4 deletions
|
@ -108,10 +108,17 @@ std::string ArtworkForGameId()
|
|||
const bool is_wii = Core::System::GetInstance().IsWii();
|
||||
const std::string region_code = SConfig::GetInstance().GetGameTDBImageRegionCode(is_wii, region);
|
||||
|
||||
static constexpr char cover_url[] = "https://discord.dolphin-emu.org/cover-art/{}/{}.png";
|
||||
return fmt::format(cover_url, region_code, SConfig::GetInstance().GetGameTDBID());
|
||||
}
|
||||
std::string tdbID = SConfig::GetInstance().GetGameTDBID();
|
||||
if (tdbID == "GMPEDX") {
|
||||
static constexpr char cover_url[] = "https://i.ibb.co/M9wg1g9/MP4DX.png";
|
||||
return fmt::format(cover_url );
|
||||
|
||||
}
|
||||
else {
|
||||
static constexpr char cover_url[] = "https://discord.dolphin-emu.org/cover-art/{}/{}.png";
|
||||
return fmt::format(cover_url, region_code, tdbID);
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue