Removed an excess timer_process() call from src/game/joystick_sw_pad.c.
This commit is contained in:
@@ -173,8 +173,6 @@ sw_write(void *priv)
|
|||||||
if (!JOYSTICK_PRESENT(0))
|
if (!JOYSTICK_PRESENT(0))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
timer_process();
|
|
||||||
|
|
||||||
if (!sw->poll_left) {
|
if (!sw->poll_left) {
|
||||||
sw->poll_clock = 1;
|
sw->poll_clock = 1;
|
||||||
timer_set_delay_u64(&sw->poll_timer, TIMER_USEC * 50);
|
timer_set_delay_u64(&sw->poll_timer, TIMER_USEC * 50);
|
||||||
|
Reference in New Issue
Block a user