RyuLDN (I hope)

This commit is contained in:
Ben Lawrence 2024-11-29 17:37:13 +13:00
parent 538221ef79
commit 3ce5b7d4a0
3 changed files with 9 additions and 6 deletions

View File

@ -45,7 +45,7 @@ class Ryujinx {
var debuglogs: Bool
var tracelogs: Bool
var nintendoinput: Bool
var enableInternet: Bool
var ryuLDN: Bool
var listinputids: Bool
var fullscreen: Bool
var memoryManagerMode: String
@ -61,7 +61,7 @@ class Ryujinx {
debuglogs: Bool = false,
tracelogs: Bool = false,
nintendoinput: Bool = true,
enableInternet: Bool = false,
ryuLDN: Bool = false,
listinputids: Bool = false,
fullscreen: Bool = true,
memoryManagerMode: String = "HostMappedUnsafe",
@ -77,7 +77,7 @@ class Ryujinx {
self.debuglogs = debuglogs
self.tracelogs = tracelogs
self.nintendoinput = nintendoinput
self.enableInternet = enableInternet
self.ryuLDN = ryuLDN
self.listinputids = listinputids
self.fullscreen = fullscreen
self.vsync = vsync
@ -162,8 +162,8 @@ class Ryujinx {
args.append("--correct-ons-controller")
}
if config.enableInternet {
args.append("--enable-internet-connection")
if config.ryuLDN {
args.append("--lan-interface-id LdnRyu")
}
if config.disableShaderCache {

View File

@ -61,6 +61,7 @@ struct SettingsView: View {
Toggle("Enable Debug Logs", isOn: $config.debuglogs)
Toggle("Enable Trace Logs", isOn: $config.tracelogs)
}
Section(header: Text("CPU Mode").bold()) {
HStack {
Spacer()
@ -73,7 +74,9 @@ struct SettingsView: View {
}
}
Section(header: Text("Network").bold()) {
Toggle("Enable Ryujinx LDN", isOn: $config.ryuLDN)
}
Section(header: Text("Additional Settings")) {
//TextField("Game Path", text: $config.gamepath)