mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-18 08:46:10 +00:00
Fix player 1 default connected value
This commit is contained in:
parent
0e0fc07135
commit
0bd8cecc94
|
@ -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