VERY experimental Nintendo Switch 2 emulator
C++
externals: Update cpp-httplib to latest
Alexandre Bouviera6a501bfe8c9
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 8896fe0bea..10a3de9e29 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -241,7 +241,7 @@ endif()if (ENABLE_WEB_SERVICE)find_package(cpp-jwt 1.4 CONFIG)- find_package(httplib 0.11 MODULE)+ find_package(httplib 0.12 MODULE)endif()if (YUZU_TESTS)diff --git a/externals/cpp-httplib b/externals/cpp-httplibindex 305a7abcb9..6d963fbe8d 160000--- a/externals/cpp-httplib+++ b/externals/cpp-httplib@@ -1 +1 @@-Subproject commit 305a7abcb9b4e9e349843c6d563212e6c1bbbf21+Subproject commit 6d963fbe8d415399d65e94db7910bbd22fe3741cdiff --git a/src/web_service/web_backend.cpp b/src/web_service/web_backend.cppindex 12a7e49229..dff380ccaa 100644--- a/src/web_service/web_backend.cpp+++ b/src/web_service/web_backend.cpp@@ -71,7 +71,7 @@ struct Client::Impl {const std::string& jwt_ = "", const std::string& username_ = "",const std::string& token_ = "") {if (cli == nullptr) {- cli = std::make_unique<httplib::Client>(host.c_str());+ cli = std::make_unique<httplib::Client>(host);}if (!cli->is_valid()) {diff --git a/src/yuzu/discord_impl.cpp b/src/yuzu/discord_impl.cppindex de0c307d45..978ffef332 100644--- a/src/yuzu/discord_impl.cpp+++ b/src/yuzu/discord_impl.cpp@@ -76,7 +76,7 @@ void DiscordImpl::Update() {// New Check for game coverhttplib::Client cli(game_cover_url);- if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name).c_str())) {+ if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name))) {if (res->status == 200) {game_cover_url += fmt::format("/images/game/boxart/{}.png", icon_name);} else {