The joystick instance ID is already set in the open call

This commit is contained in:
Sam Lantinga
2024-03-25 06:57:02 -07:00
parent 07c49d1a67
commit b391e6477e
12 changed files with 0 additions and 12 deletions

View File

@@ -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;