src/joystick/bsd/SDL_sysjoystick.c
changeset 6698 28ab2ef7bfc9
parent 6697 dbda91031456
child 6700 c8f3d3f0251e
     1.1 --- a/src/joystick/bsd/SDL_sysjoystick.c	Mon Nov 26 22:09:58 2012 -0800
     1.2 +++ b/src/joystick/bsd/SDL_sysjoystick.c	Mon Nov 26 22:27:49 2012 -0800
     1.3 @@ -278,6 +278,7 @@
     1.4          return (-1);
     1.5      }
     1.6  
     1.7 +    joy->instance_id = device_index;
     1.8      hw = (struct joystick_hwdata *)
     1.9          SDL_malloc(sizeof(struct joystick_hwdata));
    1.10      if (hw == NULL) {