From 88254d8402face910cb8be67ca084fcb7f1da1af Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Tue, 1 Dec 2020 11:28:31 +0000 Subject: [PATCH] (sdl_dingux_joypad) Fix typo --- input/drivers_joypad/sdl_dingux_joypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/drivers_joypad/sdl_dingux_joypad.c b/input/drivers_joypad/sdl_dingux_joypad.c index 03d5e7988c..eb0bf9e850 100644 --- a/input/drivers_joypad/sdl_dingux_joypad.c +++ b/input/drivers_joypad/sdl_dingux_joypad.c @@ -137,7 +137,7 @@ static bool sdl_dingux_rumble_init(dingux_joypad_rumble_t *rumble) rumble->strong.effect.u.periodic.magnitude = 0; rumble->strong.id = Shake_UploadEffect(rumble->device, &rumble->strong.effect); - if (rumble->weak.id == SHAKE_ERROR) + if (rumble->strong.id == SHAKE_ERROR) goto error; strong_uploaded = true;