mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 01:35:46 +00:00
yuzu: config: Remove player 8 and 9 from config file
This commit is contained in:
parent
833afb7ce3
commit
60688bf0d5
8 changed files with 104 additions and 38 deletions
|
@ -57,7 +57,7 @@ void ConfigureInputPerGame::ApplyConfiguration() {
|
|||
}
|
||||
|
||||
void ConfigureInputPerGame::LoadConfiguration() {
|
||||
static constexpr size_t HANDHELD_INDEX = 8;
|
||||
static constexpr size_t HANDHELD_INDEX = 0;
|
||||
|
||||
auto& hid_core = system.HIDCore();
|
||||
for (size_t player_index = 0; player_index < profile_comboboxes.size(); ++player_index) {
|
||||
|
@ -69,9 +69,6 @@ void ConfigureInputPerGame::LoadConfiguration() {
|
|||
const auto selection_index = player_combobox->currentIndex();
|
||||
if (selection_index == 0) {
|
||||
Settings::values.players.GetValue()[player_index].profile_name = "";
|
||||
if (player_index == 0) {
|
||||
Settings::values.players.GetValue()[HANDHELD_INDEX] = {};
|
||||
}
|
||||
Settings::values.players.SetGlobal(true);
|
||||
emulated_controller->ReloadFromSettings();
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue