mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2026-08-09 11:07:08 +00:00
Change RyuLDN server, also remove a debug line
This commit is contained in:
parent
edfbd358a0
commit
69742c556b
3 changed files with 2 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ namespace Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator
|
|||
{
|
||||
class IUserLocalCommunicationService : IpcService, IDisposable
|
||||
{
|
||||
public static string LanPlayHost = "ldn.ryujinx.org";
|
||||
public static string LanPlayHost = "ryuldntest.vudjun.com";
|
||||
public static short LanPlayPort = 30456;
|
||||
|
||||
public INetworkClient NetworkClient { get; private set; }
|
||||
|
|
|
|||
|
|
@ -575,7 +575,7 @@ namespace Ryujinx.UI.App.Common
|
|||
{
|
||||
IEnumerable<LdnGameData> ldnGameDataArray = Array.Empty<LdnGameData>();
|
||||
using HttpClient httpClient = new HttpClient();
|
||||
string ldnGameDataArrayString = await httpClient.GetStringAsync("https://ldn.ryujinx.org/api/public_games");
|
||||
string ldnGameDataArrayString = await httpClient.GetStringAsync("https://ryuldntestweb.vudjun.com/api/public_games");
|
||||
ldnGameDataArray = JsonHelper.Deserialize(ldnGameDataArrayString, _ldnDataSerializerContext.IEnumerableLdnGameData);
|
||||
var evt = new LdnGameDataReceivedEventArgs
|
||||
{
|
||||
|
|
|
|||
|
|
@ -179,7 +179,6 @@ namespace Ryujinx.Ava.UI.Windows
|
|||
|
||||
application.PlayerCount = ldnGameData.Sum(game => game.PlayerCount);
|
||||
application.GameCount = ldnGameData.Count();
|
||||
Console.WriteLine($"PlayerCount: {application.PlayerCount}, GameCount: {application.GameCount}");
|
||||
}
|
||||
}
|
||||
ViewModel.RefreshView();
|
||||
|
|
|
|||
Loading…
Reference in a new issue