Bug caused by typo

This commit is contained in:
Jeffrey Davenport 2019-08-13 02:26:13 -06:00
parent 116ed81c23
commit 25f35ed67d

View File

@ -398,7 +398,7 @@ static int16_t switch_input_state(void *data,
}
if (((float)abs(sw->joypad->axis(joypad_info.joy_idx, joyaxis)) / 0x8000) > joypad_info.axis_threshold)
{
ret |= (1 << 1);
ret |= (1 << i);
continue;
}
}