mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-10 11:56:26 +00:00
The joystick instance ID is already set in the open call
This commit is contained in:
@@ -595,7 +595,6 @@ static int BSD_JoystickOpen(SDL_Joystick *joy, int device_index)
|
||||
return -1;
|
||||
}
|
||||
|
||||
joy->instance_id = item->device_instance;
|
||||
joy->hwdata = hw;
|
||||
joy->naxes = hw->naxes;
|
||||
joy->nbuttons = hw->nbuttons;
|
||||
|
Reference in New Issue
Block a user