summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-01 20:47:37 +0100
committerGitHub <noreply@github.com>2020-12-01 20:47:37 +0100
commit25f650e075c441798016d0e7a446a10ce82a2865 (patch)
tree940e2a4754d9edc508ac75b70903a475b44c7132 /src/yuzu_cmd
parentMerge pull request #5047 from german77/MouseInput (diff)
parentAdd multiple udp server support (diff)
downloadyuzu-25f650e075c441798016d0e7a446a10ce82a2865.tar
yuzu-25f650e075c441798016d0e7a446a10ce82a2865.tar.gz
yuzu-25f650e075c441798016d0e7a446a10ce82a2865.tar.bz2
yuzu-25f650e075c441798016d0e7a446a10ce82a2865.tar.lz
yuzu-25f650e075c441798016d0e7a446a10ce82a2865.tar.xz
yuzu-25f650e075c441798016d0e7a446a10ce82a2865.tar.zst
yuzu-25f650e075c441798016d0e7a446a10ce82a2865.zip
Diffstat (limited to 'src/yuzu_cmd')
-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);