mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06:00
Android: Fix pressing up on overlay d-pad
This commit is contained in:
@ -221,7 +221,7 @@ class InputOverlay(context: Context?, attrs: AttributeSet?) : SurfaceView(contex
|
|||||||
dpadPressed[3] = true
|
dpadPressed[3] = true
|
||||||
|
|
||||||
// Release the buttons first, then press
|
// Release the buttons first, then press
|
||||||
for (i in 1 until dpadPressed.size) {
|
for (i in dpadPressed.indices) {
|
||||||
if (!dpadPressed[i]) {
|
if (!dpadPressed[i]) {
|
||||||
InputOverrider.setControlState(
|
InputOverrider.setControlState(
|
||||||
controllerIndex,
|
controllerIndex,
|
||||||
|
Reference in New Issue
Block a user