aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTrung Do <chin.bimbo@gmail.com>2015-07-28 13:51:09 -0400
committerTrung Do <chin.bimbo@gmail.com>2015-07-28 13:51:09 -0400
commitcc98866b250a5b314a42dda812dad1da74c4ba7a (patch)
treee01e75305f51194e1c3889b250e55022053a0002 /src
parentfe15cf00196da4684a5513425709c508416918c9 (diff)
Settings: Fix saving wrong values for input configuration
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/config.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp
index e65b98b6..5716634e 100644
--- a/src/citra_qt/config.cpp
+++ b/src/citra_qt/config.cpp
@@ -66,7 +66,8 @@ void Config::ReadValues() {
void Config::SaveValues() {
qt_config->beginGroup("Controls");
for (int i = 0; i < Settings::NativeInput::NUM_INPUTS; ++i) {
- qt_config->setValue(QString::fromStdString(Settings::NativeInput::Mapping[i]), Settings::NativeInput::All[i]);
+ qt_config->setValue(QString::fromStdString(Settings::NativeInput::Mapping[i]),
+ Settings::values.input_mappings[Settings::NativeInput::All[i]]);
}
qt_config->endGroup();