mirror of
https://github.com/citra-mirror/citra.git
synced 2024-09-03 10:07:26 +02:00
configure_input: set modifier_scale undonditionally when restoring default
This commit is contained in:
parent
75f9c2cc13
commit
611b186a97
@ -375,9 +375,7 @@ void ConfigureInput::RestoreDefaults() {
|
|||||||
Config::default_analogs[analog_id][sub_button_id])};
|
Config::default_analogs[analog_id][sub_button_id])};
|
||||||
SetAnalogButton(params, analogs_param[analog_id], analog_sub_buttons[sub_button_id]);
|
SetAnalogButton(params, analogs_param[analog_id], analog_sub_buttons[sub_button_id]);
|
||||||
}
|
}
|
||||||
if (analogs_param[analog_id].Get("modifier_scale", 0.5f) != 0.5f) {
|
analogs_param[analog_id].Set("modifier_scale", 0.5f);
|
||||||
analogs_param[analog_id].Set("modifier_scale", 0.5f);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
UpdateButtonLabels();
|
UpdateButtonLabels();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user