Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

[frontend] Force https on bundled OpenSSL (#3843)

crueter71d3dd67d33b
diff --git a/src/frontend_common/update_checker.cpp b/src/frontend_common/update_checker.cpp
index 3e5a832ba0..1f01c25a26 100644
--- a/src/frontend_common/update_checker.cpp
+++ b/src/frontend_common/update_checker.cpp
@@ -81,9 +81,7 @@ std::optional<std::string> UpdateChecker::GetResponse(std::string url, std::stri
}
std::optional<UpdateChecker::Update> UpdateChecker::GetLatestRelease(bool include_prereleases) {
- // For some unbeknownst reason, only Android likes when https is specified.
- // Consider dropping support for this radioactive platform.
-#ifdef __ANDROID__
+#ifdef YUZU_BUNDLED_OPENSSL
const auto update_check_url = fmt::format("https://{}", Common::g_build_auto_update_api);
#else
const auto update_check_url = std::string{Common::g_build_auto_update_api};