yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

config: Read network_interface

Let's yuzu_cmd use a network interface. Also adds it to the default ini.
This commit is contained in:
lat9nq 2021-10-15 12:14:09 -04:00 committed by GitHub
parent c68ce25a14
commit 851fe91b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -518,6 +518,9 @@ void Config::ReadValues() {
ReadSetting("WebService", Settings::values.web_api_url); ReadSetting("WebService", Settings::values.web_api_url);
ReadSetting("WebService", Settings::values.yuzu_username); ReadSetting("WebService", Settings::values.yuzu_username);
ReadSetting("WebService", Settings::values.yuzu_token); ReadSetting("WebService", Settings::values.yuzu_token);
// Network
ReadSetting("Network", Settings::values.network_interface);
} }
void Config::Reload() { void Config::Reload() {

View File

@ -428,6 +428,12 @@ web_api_url = https://api.yuzu-emu.org
yuzu_username = yuzu_username =
yuzu_token = yuzu_token =
[Network]
# Name of the network interface device to use with yuzu LAN play.
# e.g. On *nix: 'enp7s0', 'wlp6s0u1u3u3', 'lo'
# e.g. On Windows: 'Ethernet', 'Wi-Fi'
network_interface =
[AddOns] [AddOns]
# Used to disable add-ons # Used to disable add-ons
# List of title IDs of games that will have add-ons disabled (separated by '|'): # List of title IDs of games that will have add-ons disabled (separated by '|'):