mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 05:21:25 +12:00
remove SDL_INIT_JOYSTICK since SDL_INIT_GAMEPAD implies SDL_INIT_JOYSTICK
This commit is contained in:
parent
f0672bdbc9
commit
4840e3575b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue