From bd04f9154b4d2a5b8f2b9d3764165f3178cd83da Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Thu, 29 May 2025 06:11:08 +0200 Subject: [PATCH] C89 buildfix --- input/drivers_joypad/xinput_hybrid_joypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/drivers_joypad/xinput_hybrid_joypad.c b/input/drivers_joypad/xinput_hybrid_joypad.c index bf30ba18bc..30f9c8e177 100644 --- a/input/drivers_joypad/xinput_hybrid_joypad.c +++ b/input/drivers_joypad/xinput_hybrid_joypad.c @@ -714,7 +714,7 @@ static bool xinput_joypad_rumble(unsigned pad, rumble_state = ((new_state.wLeftMotorSpeed == state->wLeftMotorSpeed) && (new_state.wRightMotorSpeed == state->wRightMotorSpeed)); /* Rumble state unchanged? */ - if (rumble_state_unchanged) + if (rumble_state) return true; now = clock();