Replace GetString with Get function

This should hopefully fix compilation errors.
master
FearlessTobi 2019-11-10 19:42:24 +07:00
parent bbd85a495a
commit d01eb12f36
1 changed files with 2 additions and 2 deletions

@ -298,8 +298,8 @@ void Config::ReadValues() {
sdl2_config->GetInteger("ControlsGeneral", "touch_diameter_x", 15); sdl2_config->GetInteger("ControlsGeneral", "touch_diameter_x", 15);
Settings::values.touchscreen.diameter_y = Settings::values.touchscreen.diameter_y =
sdl2_config->GetInteger("ControlsGeneral", "touch_diameter_y", 15); sdl2_config->GetInteger("ControlsGeneral", "touch_diameter_y", 15);
Settings::values.udp_input_address = sdl2_config->GetString( Settings::values.udp_input_address =
"Controls", "udp_input_address", InputCommon::CemuhookUDP::DEFAULT_ADDR); sdl2_config->Get("Controls", "udp_input_address", InputCommon::CemuhookUDP::DEFAULT_ADDR);
Settings::values.udp_input_port = static_cast<u16>(sdl2_config->GetInteger( Settings::values.udp_input_port = static_cast<u16>(sdl2_config->GetInteger(
"Controls", "udp_input_port", InputCommon::CemuhookUDP::DEFAULT_PORT)); "Controls", "udp_input_port", InputCommon::CemuhookUDP::DEFAULT_PORT));