another fix

This commit is contained in:
Valentin Vanelslande 2018-12-28 21:15:18 -05:00
parent 6d0c50dfec
commit e420fb666f

View file

@ -90,7 +90,7 @@ void Config::ReadValues() {
profile.udp_input_port = static_cast<u16>(
ReadSetting("udp_input_port", InputCommon::CemuhookUDP::DEFAULT_PORT).toInt());
profile.udp_pad_index = static_cast<u8>(ReadSetting("udp_pad_index", 0).toUInt());
Settings::values.profiles.emplace_back(std::move(profile));
Settings::values.input_profiles.emplace_back(std::move(profile));
};
const int num_input_profiles = qt_config->beginReadArray("profiles");