mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-28 22:26:55 +00:00
Actually save the input when clearing/resetting to default
This commit is contained in:
parent
61c8ea3fe9
commit
8d19e144cb
|
@ -367,6 +367,9 @@ void ConfigureInput::RestoreDefaults() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
UpdateButtonLabels();
|
UpdateButtonLabels();
|
||||||
|
|
||||||
|
ApplyConfiguration();
|
||||||
|
Settings::SaveProfile(Settings::values.current_input_profile_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureInput::ClearAll() {
|
void ConfigureInput::ClearAll() {
|
||||||
|
@ -378,6 +381,9 @@ void ConfigureInput::ClearAll() {
|
||||||
analogs_param[analog_id].Clear();
|
analogs_param[analog_id].Clear();
|
||||||
}
|
}
|
||||||
UpdateButtonLabels();
|
UpdateButtonLabels();
|
||||||
|
|
||||||
|
ApplyConfiguration();
|
||||||
|
Settings::SaveProfile(Settings::values.current_input_profile_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureInput::UpdateButtonLabels() {
|
void ConfigureInput::UpdateButtonLabels() {
|
||||||
|
|
Loading…
Reference in a new issue