remove SDL Init Video as it caused crash on Supermodel Emu
This commit is contained in:
parent
34174939c5
commit
90a7acf23d
@ -1076,7 +1076,7 @@ void Initialize(int device_index)
|
||||
{
|
||||
hlp.log("in initialize");
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_RAWINPUT, "0");
|
||||
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER) < 0)
|
||||
if (SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER) < 0)
|
||||
SDL_JoystickEventState(SDL_ENABLE);
|
||||
SDL_JoystickUpdate();
|
||||
char joystick_guid[256];
|
||||
|
Loading…
Reference in New Issue
Block a user