GeckoCodeConfig: Remove HTTPS workaround for Android

This commit is contained in:
OatmealDome committed 2025-01-07 23:02:13 -05:00
1 parent 4dc368d8df
commit d525776ae6
3 files changed
+4 -8

No files matched your search

+2 -5
View File
@@ -17,13 +17,10 @@
namespace Gecko
{
std::vector<GeckoCode> DownloadCodes(std::string gametdb_id, bool* succeeded, bool use_https)
std::vector<GeckoCode> DownloadCodes(std::string gametdb_id, bool* succeeded)
{
// TODO: Fix https://bugs.dolphin-emu.org/issues/11772 so we don't need this workaround
const std::string protocol = use_https ? "https://" : "http://";
// codes.rc24.xyz is a mirror of the now defunct geckocodes.org.
std::string endpoint{protocol + "codes.rc24.xyz/txt.php?txt=" + gametdb_id};
std::string endpoint{"https://codes.rc24.xyz/txt.php?txt=" + gametdb_id};
Common::HttpRequest http;
// The server always redirects once to the same location.