summaryrefslogtreecommitdiffstats
path: root/src/citra_qt
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-28 19:59:31 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-28 19:59:31 +0200
commitce2dd86f8f61f2c0cf8bee5797da3b8e62d9828e (patch)
treee01e75305f51194e1c3889b250e55022053a0002 /src/citra_qt
parentMerge pull request #1003 from lioncash/armcruft (diff)
parentSettings: Fix saving wrong values for input configuration (diff)
downloadyuzu-ce2dd86f8f61f2c0cf8bee5797da3b8e62d9828e.tar
yuzu-ce2dd86f8f61f2c0cf8bee5797da3b8e62d9828e.tar.gz
yuzu-ce2dd86f8f61f2c0cf8bee5797da3b8e62d9828e.tar.bz2
yuzu-ce2dd86f8f61f2c0cf8bee5797da3b8e62d9828e.tar.lz
yuzu-ce2dd86f8f61f2c0cf8bee5797da3b8e62d9828e.tar.xz
yuzu-ce2dd86f8f61f2c0cf8bee5797da3b8e62d9828e.tar.zst
yuzu-ce2dd86f8f61f2c0cf8bee5797da3b8e62d9828e.zip
Diffstat (limited to 'src/citra_qt')
-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 e65b98b69..5716634ee 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();