Browse Source
config: Read network_interface
Let's yuzu_cmd use a network interface. Also adds it to the default ini.
pull/15/merge
lat9nq
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
9 additions and
0 deletions
-
src/yuzu_cmd/config.cpp
-
src/yuzu_cmd/default_ini.h
|
|
|
@ -518,6 +518,9 @@ void Config::ReadValues() { |
|
|
|
ReadSetting("WebService", Settings::values.web_api_url); |
|
|
|
ReadSetting("WebService", Settings::values.yuzu_username); |
|
|
|
ReadSetting("WebService", Settings::values.yuzu_token); |
|
|
|
|
|
|
|
// Network
|
|
|
|
ReadSetting("Network", Settings::values.network_interface); |
|
|
|
} |
|
|
|
|
|
|
|
void Config::Reload() { |
|
|
|
|
|
|
|
@ -428,6 +428,12 @@ web_api_url = https://api.yuzu-emu.org |
|
|
|
yuzu_username = |
|
|
|
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] |
|
|
|
# Used to disable add-ons |
|
|
|
# List of title IDs of games that will have add-ons disabled (separated by '|'): |
|
|
|
|