mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Fix player 1 default connected value
This commit is contained in:
parent
0e0fc07135
commit
0bd8cecc94
1 changed files with 2 additions and 1 deletions
|
@ -1005,7 +1005,8 @@ void Config::SavePlayerValue(std::size_t player_index) {
|
||||||
static_cast<u8>(Settings::ControllerType::ProController));
|
static_cast<u8>(Settings::ControllerType::ProController));
|
||||||
|
|
||||||
if (!player_prefix.isEmpty()) {
|
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),
|
WriteSetting(QStringLiteral("%1vibration_enabled").arg(player_prefix),
|
||||||
player.vibration_enabled, true);
|
player.vibration_enabled, true);
|
||||||
WriteSetting(QStringLiteral("%1vibration_strength").arg(player_prefix),
|
WriteSetting(QStringLiteral("%1vibration_strength").arg(player_prefix),
|
||||||
|
|
Loading…
Reference in a new issue