From 4199f694a1bfbdcdf1df1ed5230b7a6105693e05 Mon Sep 17 00:00:00 2001 From: RubberDuckShobe <42943070+RubberDuckShobe@users.noreply.github.com> Date: Wed, 7 Jun 2023 19:29:07 +0200 Subject: [PATCH] Fix Audiosurf Radio --- Wavebreaker-Hook/dllmain.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Wavebreaker-Hook/dllmain.cpp b/Wavebreaker-Hook/dllmain.cpp index 3c7042b..f1304ed 100644 --- a/Wavebreaker-Hook/dllmain.cpp +++ b/Wavebreaker-Hook/dllmain.cpp @@ -57,6 +57,9 @@ HINTERNET WINAPI OpenRequestHook(HINTERNET hConnect, { if (!dwFlags) dwFlags = INTERNET_FLAG_SECURE; + if (dwFlags == INTERNET_FLAG_RELOAD) + dwFlags = INTERNET_FLAG_RELOAD | INTERNET_FLAG_SECURE; + return g_httpopenrequesta_hook.stdcall(hConnect, lpszVerb, lpszObjectName,