Fix semicolon near end of conditional

This commit is contained in:
libretroadmin 2025-05-29 09:22:42 +02:00
parent 18ca0e671d
commit 15819612f7
2 changed files with 3 additions and 3 deletions

View File

@ -712,14 +712,14 @@ static bool xinput_joypad_rumble(unsigned pad,
/* Rumble state unchanged? */
if ( (new_state.wLeftMotorSpeed == state->wLeftMotorSpeed)
&& (new_state.wRightMotorSpeed == state->wRightMotorSpeed));
&& (new_state.wRightMotorSpeed == state->wRightMotorSpeed))
return true;
now = clock();
time_since_last_rumble = (double)(now - last_rumble_time[xuser]) / CLOCKS_PER_SEC;
/* Rumble interval unelapsed? */
if (time_since_last_rumble < RUMBLE_INTERVAL);
if (time_since_last_rumble < RUMBLE_INTERVAL)
return true;
if (g_XInputSetState)

View File

@ -437,7 +437,7 @@ static bool xinput_joypad_rumble(unsigned pad,
/* Rumble state unchanged? */
if ( (new_state.wLeftMotorSpeed == state->wLeftMotorSpeed)
&& (new_state.wRightMotorSpeed == state->wRightMotorSpeed));
&& (new_state.wRightMotorSpeed == state->wRightMotorSpeed))
return true;
now = clock();