1
0
mirror of synced 2024-11-27 16:10:52 +01:00

remove SDL Init Video as it caused crash on Supermodel Emu

This commit is contained in:
Boomslangnz 2023-11-25 20:48:05 +13:00
parent 34174939c5
commit 90a7acf23d

View File

@ -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];