yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Fix player 1 default connected value

This commit is contained in:
german 2021-01-17 12:55:02 -06:00
parent 0e0fc07135
commit 0bd8cecc94
1 changed files with 2 additions and 1 deletions

View File

@ -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),