From 12826787de2d41cc95c1c4fa48e9b2d26841ee18 Mon Sep 17 00:00:00 2001 From: BeWorld <36823759+BeWorld2018@users.noreply.github.com> Date: Sat, 3 Feb 2024 21:53:12 +0100 Subject: [PATCH] MorphOS: not more bug with that --- src/joystick/SDL_joystick.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index a7c997f86fd44..4fdff82020eef 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -625,9 +625,8 @@ int SDL_JoystickInit(void) /* See if we should allow joystick events while in the background */ SDL_AddHintCallback(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, SDL_JoystickAllowBackgroundEventsChanged, NULL); -#ifndef __MORPHOS__ SDL_InitSteamVirtualGamepadInfo(); -#endif + status = -1; for (i = 0; i < SDL_arraysize(SDL_joystick_drivers); ++i) { if (SDL_joystick_drivers[i]->Init() >= 0) {