Short-circuit loops in `{,Autofire}Controller.LatchFromPhysical`
This commit is contained in:
parent
633216be14
commit
384e4c913c
|
@ -68,6 +68,7 @@ namespace BizHawk.Client.Common
|
|||
if (finalHostController.IsPressed(button))
|
||||
{
|
||||
_buttons[k] = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,6 +80,7 @@ namespace BizHawk.Client.Common
|
|||
if (controller.IsPressed(button))
|
||||
{
|
||||
_buttons[k] = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue