diff --git a/pcsx2/PAD/Linux/SDL/joystick.cpp b/pcsx2/PAD/Linux/SDL/joystick.cpp index e94d001ef2..2179ebb720 100644 --- a/pcsx2/PAD/Linux/SDL/joystick.cpp +++ b/pcsx2/PAD/Linux/SDL/joystick.cpp @@ -129,11 +129,7 @@ JoystickInfo::~JoystickInfo() { if (m_controller != nullptr) { -#if SDL_MINOR_VERSION >= 4 - // Version before 2.0.4 are bugged, JoystickClose crashes randomly - // Note: GameControllerClose calls JoystickClose) SDL_GameControllerClose(m_controller); -#endif } } @@ -198,9 +194,7 @@ JoystickInfo::JoystickInfo(int id) "Please post the new generated mapping to (https://github.com/gabomdq/SDL_GameControllerDB) so it can be added to the database.", m_device_name.c_str(), guid); -#if SDL_MINOR_VERSION >= 4 // Version before 2.0.4 are bugged, JoystickClose crashes randomly SDL_JoystickClose(joy); -#endif return; }