diff options
author | german <german@thesoftwareartisans.com> | 2021-01-17 19:55:02 +0100 |
---|---|---|
committer | german <german@thesoftwareartisans.com> | 2021-01-17 19:55:28 +0100 |
commit | 0bd8cecc945ec87a1b011c824d49a34d7003c4c8 (patch) | |
tree | 581a79162b1414e8a56ccac339acb47189ae02f4 /src | |
parent | Merge pull request #5740 from lioncash/const-fn (diff) | |
download | yuzu-0bd8cecc945ec87a1b011c824d49a34d7003c4c8.tar yuzu-0bd8cecc945ec87a1b011c824d49a34d7003c4c8.tar.gz yuzu-0bd8cecc945ec87a1b011c824d49a34d7003c4c8.tar.bz2 yuzu-0bd8cecc945ec87a1b011c824d49a34d7003c4c8.tar.lz yuzu-0bd8cecc945ec87a1b011c824d49a34d7003c4c8.tar.xz yuzu-0bd8cecc945ec87a1b011c824d49a34d7003c4c8.tar.zst yuzu-0bd8cecc945ec87a1b011c824d49a34d7003c4c8.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/configuration/config.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp index cda448718..9f73d37d4 100644 --- a/src/yuzu/configuration/config.cpp +++ b/src/yuzu/configuration/config.cpp @@ -1005,7 +1005,8 @@ void Config::SavePlayerValue(std::size_t player_index) { static_cast<u8>(Settings::ControllerType::ProController)); if (!player_prefix.isEmpty()) { - WriteSetting(QStringLiteral("%1connected").arg(player_prefix), player.connected, false); + WriteSetting(QStringLiteral("%1connected").arg(player_prefix), player.connected, + player_index == 0); WriteSetting(QStringLiteral("%1vibration_enabled").arg(player_prefix), player.vibration_enabled, true); WriteSetting(QStringLiteral("%1vibration_strength").arg(player_prefix), |