mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 13:25:45 +00:00
Revert "yuzu: config: Remove player 8 and 9 from config file"
This commit is contained in:
parent
b385fc2cd1
commit
2e388209d7
8 changed files with 38 additions and 104 deletions
|
@ -212,11 +212,16 @@ void Config::ReadPlayerValue(std::size_t player_index) {
|
|||
}
|
||||
|
||||
if (player_prefix.isEmpty() && Settings::IsConfiguringGlobal()) {
|
||||
player.controller_type = static_cast<Settings::ControllerType>(
|
||||
const auto controller = static_cast<Settings::ControllerType>(
|
||||
qt_config
|
||||
->value(QStringLiteral("%1type").arg(player_prefix),
|
||||
static_cast<u8>(Settings::ControllerType::ProController))
|
||||
.toUInt());
|
||||
|
||||
if (controller == Settings::ControllerType::LeftJoycon ||
|
||||
controller == Settings::ControllerType::RightJoycon) {
|
||||
player.controller_type = controller;
|
||||
}
|
||||
} else {
|
||||
player.connected =
|
||||
ReadSetting(QStringLiteral("%1connected").arg(player_prefix), player_index == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue