From 5bb85ee5d50ed46909338f2f36215018275c222d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 27 Feb 2020 23:32:18 +0100 Subject: [PATCH] (GX) Buildfix --- input/drivers/gx_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input/drivers/gx_input.c b/input/drivers/gx_input.c index bd2fa77a5b..7265c5aea3 100644 --- a/input/drivers/gx_input.c +++ b/input/drivers/gx_input.c @@ -198,10 +198,10 @@ static int16_t gx_input_state(void *data, break; #ifdef HW_RVL case RETRO_DEVICE_MOUSE: - return gx_mouse_state(gx, id, joypad_info.joy_idx); + return gx_mouse_state(gx, id, joypad_info->joy_idx); case RETRO_DEVICE_LIGHTGUN: - return gx_lightgun_state(gx, id, joypad_info.joy_idx); + return gx_lightgun_state(gx, id, joypad_info->joy_idx); #endif }