You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.0 Reported for operating system, platform: Windows 7, x86
Comments on the original bug report:
On 2013-10-18 21:08:05 +0000, Nicholas Hastings wrote:
As discussed on the mailing list, there is a crash in the haptics subsystem, on Windows, when SDL_HapticOpenFromJoystick is called for a second device.
The underlying cause may be the same as in bug 2126, but I wanted to file separately in the case that it's not since the trigger is different.
To reproduce, have more than one joystick or game controller supporting haptics connected, such as two Xbox 360 controllers. Then open each as a joystick, and then open a haptic from each with SDL_HapticOpenFromJoystick.
if ((joystick->hwdata->bXInputHaptic == haptic->hwdata->bXInputHaptic) && (haptic->hwdata->userid == joystick->hwdata->userid)) {
...would fail if both devices were different XInput controllers, and then try to use them as bogus pointers through the DirectInput API. If was a goofy piece of logic.
--ryan.
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.0
Reported for operating system, platform: Windows 7, x86
Comments on the original bug report:
On 2013-10-18 21:08:05 +0000, Nicholas Hastings wrote:
On 2013-10-21 03:15:48 +0000, Ryan C. Gordon wrote:
The text was updated successfully, but these errors were encountered: