mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
Always allow localhost resolution
This commit is contained in:
parent
632676db44
commit
475b721e7d
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Sfdnsres
|
||||||
{
|
{
|
||||||
string host = MemoryHelper.ReadAsciiString(context.Memory, inputBufferPosition, (int)inputBufferSize);
|
string host = MemoryHelper.ReadAsciiString(context.Memory, inputBufferPosition, (int)inputBufferSize);
|
||||||
|
|
||||||
if (!context.Device.Configuration.EnableInternetAccess)
|
if (host != "localhost" && !context.Device.Configuration.EnableInternetAccess)
|
||||||
{
|
{
|
||||||
Logger.Info?.Print(LogClass.ServiceSfdnsres, $"Guest network access disabled, DNS Blocked: {host}");
|
Logger.Info?.Print(LogClass.ServiceSfdnsres, $"Guest network access disabled, DNS Blocked: {host}");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue