Completed adding new hotplug stubs for the joystick implementations
This commit is contained in:
parent
a8966c167e
commit
c9f59a287d
9 changed files with 223 additions and 33 deletions
|
@ -278,6 +278,7 @@ SDL_SYS_JoystickOpen(SDL_Joystick * joy, int device_index)
|
|||
return (-1);
|
||||
}
|
||||
|
||||
joy->instance_id = device_index;
|
||||
hw = (struct joystick_hwdata *)
|
||||
SDL_malloc(sizeof(struct joystick_hwdata));
|
||||
if (hw == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue