From 6d0c50dfecc741a65e0e0186347d27488b06e70a Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Fri, 28 Dec 2018 21:14:44 -0500 Subject: [PATCH] more fixes --- src/citra_qt/configuration/config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp index 5b5708fdfd..403e2eb3e7 100644 --- a/src/citra_qt/configuration/config.cpp +++ b/src/citra_qt/configuration/config.cpp @@ -379,9 +379,9 @@ void Config::SaveValues() { qt_config->beginGroup("Controls"); WriteSetting("profile", Settings::values.current_input_profile, 0); qt_config->beginWriteArray("profiles"); - for (std::size_t p = 0; p < Settings::values.inprofiles.size(); ++p) { + for (std::size_t p = 0; p < Settings::values.input_profiles.size(); ++p) { qt_config->setArrayIndex(static_cast(p)); - const auto& profile = Settings::values.profiles[p]; + const auto& profile = Settings::values.input_profiles[p]; for (int i = 0; i < Settings::NativeButton::NumButtons; ++i) { std::string default_param = InputCommon::GenerateKeyboardParam(default_buttons[i]); WriteSetting(QString::fromStdString(Settings::NativeButton::mapping[i]),