summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorgerman <german@thesoftwareartisans.com>2020-11-18 05:16:29 +0100
committergerman <german@thesoftwareartisans.com>2020-11-26 06:44:41 +0100
commit2c2b586d86d71bd6c134c32d27b155615230222e (patch)
tree8344f77a6a09879bc419dc62cfc3a10ad5632d82 /src/yuzu_cmd/config.cpp
parentMerge pull request #4976 from comex/poll-events (diff)
downloadyuzu-2c2b586d86d71bd6c134c32d27b155615230222e.tar
yuzu-2c2b586d86d71bd6c134c32d27b155615230222e.tar.gz
yuzu-2c2b586d86d71bd6c134c32d27b155615230222e.tar.bz2
yuzu-2c2b586d86d71bd6c134c32d27b155615230222e.tar.lz
yuzu-2c2b586d86d71bd6c134c32d27b155615230222e.tar.xz
yuzu-2c2b586d86d71bd6c134c32d27b155615230222e.tar.zst
yuzu-2c2b586d86d71bd6c134c32d27b155615230222e.zip
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r--src/yuzu_cmd/config.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index e1adbbf2b..34c9673bc 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -306,10 +306,8 @@ void Config::ReadValues() {
sdl2_config->GetInteger("ControlsGeneral", "touch_diameter_x", 15);
Settings::values.touchscreen.diameter_y =
sdl2_config->GetInteger("ControlsGeneral", "touch_diameter_y", 15);
- Settings::values.udp_input_address =
- sdl2_config->Get("Controls", "udp_input_address", InputCommon::CemuhookUDP::DEFAULT_ADDR);
- Settings::values.udp_input_port = static_cast<u16>(sdl2_config->GetInteger(
- "Controls", "udp_input_port", InputCommon::CemuhookUDP::DEFAULT_PORT));
+ Settings::values.udp_input_servers =
+ sdl2_config->Get("Controls", "udp_input_address", InputCommon::CemuhookUDP::DEFAULT_SRV);
std::transform(keyboard_keys.begin(), keyboard_keys.end(),
Settings::values.keyboard_keys.begin(), InputCommon::GenerateKeyboardParam);