summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/config.cpp
diff options
context:
space:
mode:
authorTrung Do <chin.bimbo@gmail.com>2015-07-28 19:51:09 +0200
committerTrung Do <chin.bimbo@gmail.com>2015-07-28 19:51:09 +0200
commitcc98866b250a5b314a42dda812dad1da74c4ba7a (patch)
treee01e75305f51194e1c3889b250e55022053a0002 /src/citra_qt/config.cpp
parentMerge pull request #1003 from lioncash/armcruft (diff)
downloadyuzu-cc98866b250a5b314a42dda812dad1da74c4ba7a.tar
yuzu-cc98866b250a5b314a42dda812dad1da74c4ba7a.tar.gz
yuzu-cc98866b250a5b314a42dda812dad1da74c4ba7a.tar.bz2
yuzu-cc98866b250a5b314a42dda812dad1da74c4ba7a.tar.lz
yuzu-cc98866b250a5b314a42dda812dad1da74c4ba7a.tar.xz
yuzu-cc98866b250a5b314a42dda812dad1da74c4ba7a.tar.zst
yuzu-cc98866b250a5b314a42dda812dad1da74c4ba7a.zip
Diffstat (limited to 'src/citra_qt/config.cpp')
-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();