oof
This commit is contained in:
parent
7b75d43789
commit
514cefac46
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue