remove SDL_INIT_JOYSTICK since SDL_INIT_GAMEPAD implies SDL_INIT_JOYSTICK
Some checks are pending
Generate Translation Template / Generate Translation Template (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Waiting to run
Build RPCS3 / RPCS3 Windows (push) Waiting to run

This commit is contained in:
Katharine Chui 2025-05-08 13:03:50 +02:00 committed by Megamouse
commit 4840e3575b

View file

@ -69,7 +69,7 @@ bool sdl_instance::initialize()
set_hint(SDL_HINT_JOYSTICK_HIDAPI_PS3, "1"); set_hint(SDL_HINT_JOYSTICK_HIDAPI_PS3, "1");
#endif #endif
if (!SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_GAMEPAD | SDL_INIT_HAPTIC)) if (!SDL_Init(SDL_INIT_GAMEPAD | SDL_INIT_HAPTIC))
{ {
sdl_log.error("Could not initialize! SDL Error: %s", SDL_GetError()); sdl_log.error("Could not initialize! SDL Error: %s", SDL_GetError());
return false; return false;