mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +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 bool is_wii = Core::System::GetInstance().IsWii();
|
||||||
const std::string region_code = SConfig::GetInstance().GetGameTDBImageRegionCode(is_wii, region);
|
const std::string region_code = SConfig::GetInstance().GetGameTDBImageRegionCode(is_wii, region);
|
||||||
|
|
||||||
static constexpr char cover_url[] = "https://discord.dolphin-emu.org/cover-art/{}/{}.png";
|
std::string tdbID = SConfig::GetInstance().GetGameTDBID();
|
||||||
return fmt::format(cover_url, region_code, 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
|
} // namespace
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue