This commit is contained in:
simonmkwii-dev 2018-07-19 10:45:46 +10:00 committed by GitHub
commit 514cefac46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Net; using System.Net;
using System.Net.Sockets; using System.Net.Sockets;
using System.Net.NetworkInformation;
namespace Ryujinx.HLE.OsHle.Services.Nifm namespace Ryujinx.HLE.OsHle.Services.Nifm
{ {
@ -39,7 +40,7 @@ namespace Ryujinx.HLE.OsHle.Services.Nifm
public long GetCurrentIpAddress(ServiceCtx Context) public long GetCurrentIpAddress(ServiceCtx Context)
{ {
if (!System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable()) if (!NetworkInterface.GetIsNetworkAvailable())
{ {
return NoInternetConnection; return NoInternetConnection;
} }