mirror of https://github.com/PCSX2/pcsx2.git
onepad: Broken haptic != Broken controller.
This commit is contained in:
parent
69ae598b7e
commit
8550cb9b1b
|
@ -223,7 +223,8 @@ JoystickInfo::JoystickInfo(int id)
|
|||
eid = SDL_HapticNewEffect(m_haptic, &effects[0]);
|
||||
if (eid < 0) {
|
||||
fprintf(stderr, "ERROR: Effect is not uploaded! %s\n", SDL_GetError());
|
||||
return;
|
||||
m_haptic = nullptr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue