diff --git a/src/sdl/i_system.cpp b/src/sdl/i_system.cpp index 6f7478f81..510db2802 100644 --- a/src/sdl/i_system.cpp +++ b/src/sdl/i_system.cpp @@ -1021,6 +1021,8 @@ void I_InitJoystick(UINT8 index) } } +#if 0 // no dont do this + // reset everything just in case JoyInfo[index].dev = NULL; JoyInfo[index].oldjoy = -1; #if (SDL_VERSION_ATLEAST(2,32,4)) @@ -1028,6 +1030,7 @@ void I_InitJoystick(UINT8 index) #endif JoyInfo[index].hasled = false; JoyInfo[index].hasrumble = false; +#endif if (cv_usejoystick[index].value) newcontroller = SDL_GameControllerOpen(cv_usejoystick[index].value-1);