summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2019-11-10 19:42:24 +0100
committerFearlessTobi <thm.frey@gmail.com>2020-01-23 20:55:26 +0100
commitd01eb12f369eedae704c0e7ce0611f360302475b (patch)
tree79ca6164fcb03783bc19f1ec557cacdf0b3fc539 /src/yuzu_cmd/config.cpp
parentAddress second part of review comments (diff)
downloadyuzu-d01eb12f369eedae704c0e7ce0611f360302475b.tar
yuzu-d01eb12f369eedae704c0e7ce0611f360302475b.tar.gz
yuzu-d01eb12f369eedae704c0e7ce0611f360302475b.tar.bz2
yuzu-d01eb12f369eedae704c0e7ce0611f360302475b.tar.lz
yuzu-d01eb12f369eedae704c0e7ce0611f360302475b.tar.xz
yuzu-d01eb12f369eedae704c0e7ce0611f360302475b.tar.zst
yuzu-d01eb12f369eedae704c0e7ce0611f360302475b.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/config.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 86f65cf46..161583b54 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -298,8 +298,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->GetString(
- "Controls", "udp_input_address", InputCommon::CemuhookUDP::DEFAULT_ADDR);
+ 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));