mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-01 11:00:37 -04:00
InputCommon: Eliminate some duplicated button threshold logic.
This commit is contained in:
@@ -35,7 +35,7 @@ void ModifySettingsButton::GetState()
|
||||
{
|
||||
for (size_t i = 0; i < controls.size(); ++i)
|
||||
{
|
||||
const bool state = controls[i]->control_ref->GetState<bool>();
|
||||
const bool state = controls[i]->GetState<bool>();
|
||||
|
||||
if (!associated_settings_toggle[i])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user