Mercurial > sdl-ios-xcode
diff src/haptic/SDL_syshaptic.h @ 2524:1a55848ce198 gsoc2008_force_feedback
Better handling of opening haptics from joysticks.
Fixed segfault when opening from joystick.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Thu, 17 Jul 2008 16:07:20 +0000 |
parents | 366d84fdf8d1 |
children | c6476e26a783 |
line wrap: on
line diff
--- a/src/haptic/SDL_syshaptic.h Thu Jul 17 11:47:48 2008 +0000 +++ b/src/haptic/SDL_syshaptic.h Thu Jul 17 16:07:20 2008 +0000 @@ -43,7 +43,6 @@ struct _SDL_Haptic { Uint8 index; /* Stores index it is attached to */ - const char* name; /* Stores the name of the device */ struct haptic_effect *effects; /* Allocated effects */ int neffects; /* Maximum amount of effects */