diff --git a/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs b/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs index b63864c90..11bef95bc 100644 --- a/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs +++ b/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs @@ -682,6 +682,14 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd { IPEndPoint endPoint = context.Memory.Read(bufferPosition).ToIPEndPoint(); + if (context.Device.Configuration.EnableHttpProxy) + { + endPoint = new IPEndPoint( + IPAddress.Parse(context.Device.Configuration.HttpProxyIpAddress), + context.Device.Configuration.HttpProxyPort + ); + } + errno = socket.Connect(endPoint); }