mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #4039 from FearlessTobi/port-5376
Port citra-emu/citra#5376: "Actually save the input when clearing/resetting to default"
This commit is contained in:
commit
1b64fae912
|
@ -480,7 +480,9 @@ void ConfigureInputPlayer::RestoreDefaults() {
|
||||||
SetAnalogButton(params, analogs_param[analog_id], analog_sub_buttons[sub_button_id]);
|
SetAnalogButton(params, analogs_param[analog_id], analog_sub_buttons[sub_button_id]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateButtonLabels();
|
UpdateButtonLabels();
|
||||||
|
ApplyConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureInputPlayer::ClearAll() {
|
void ConfigureInputPlayer::ClearAll() {
|
||||||
|
@ -505,6 +507,7 @@ void ConfigureInputPlayer::ClearAll() {
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateButtonLabels();
|
UpdateButtonLabels();
|
||||||
|
ApplyConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureInputPlayer::UpdateButtonLabels() {
|
void ConfigureInputPlayer::UpdateButtonLabels() {
|
||||||
|
|
Loading…
Reference in a new issue