From 6f6cbc3413451f96fe83b9ab664c847ea28d99e0 Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Mon, 5 May 2025 09:26:12 +1000 Subject: [PATCH] still need this --- src/pc/controller/controller_sdl2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pc/controller/controller_sdl2.c b/src/pc/controller/controller_sdl2.c index 4750300cc..b01d5532f 100644 --- a/src/pc/controller/controller_sdl2.c +++ b/src/pc/controller/controller_sdl2.c @@ -227,6 +227,7 @@ static void controller_sdl_read(OSContPad *pad) { } } else if (!sdl_joystick) { sdl_joystick = SDL_JoystickOpen(configGamepadNumber); + if (!sdl_joystick) { return; } } }