For LDN Testing: Default MultiplayerMode to RyuLDN. Use separate config file.

This commit is contained in:
Vudjun 2024-10-22 21:40:45 +01:00
parent 69742c556b
commit 1f374edbdb
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ namespace Ryujinx.Common
public const string ReleaseChannelOwner = "%%RYUJINX_TARGET_RELEASE_CHANNEL_OWNER%%";
public const string ReleaseChannelRepo = "%%RYUJINX_TARGET_RELEASE_CHANNEL_REPO%%";
public static string ConfigName => !ConfigFileName.StartsWith("%%") ? ConfigFileName : "Config.json";
public static string ConfigName => !ConfigFileName.StartsWith("%%") ? ConfigFileName : "LDNTestConfig.json";
public static bool IsValid =>
!BuildGitHash.StartsWith("%%") &&

View file

@ -847,7 +847,7 @@ namespace Ryujinx.UI.Common.Configuration
System.IgnoreMissingServices.Value = false;
System.UseHypervisor.Value = true;
Multiplayer.LanInterfaceId.Value = "0";
Multiplayer.Mode.Value = MultiplayerMode.Disabled;
Multiplayer.Mode.Value = MultiplayerMode.LdnRyu;
Multiplayer.DisableP2p.Value = false;
Multiplayer.Username.Value = "Player";
Multiplayer.LdnPassphrase.Value = "";
@ -1110,7 +1110,7 @@ namespace Ryujinx.UI.Common.Configuration
// Initialize network config.
configurationFileFormat.MultiplayerMode = MultiplayerMode.Disabled;
configurationFileFormat.MultiplayerMode = MultiplayerMode.LdnRyu;
configurationFileFormat.MultiplayerLanInterfaceId = "0";
configurationFileUpdated = true;