Navigation Menu

Skip to content

Commit

Permalink
Android: Restored Philipp's joystick change, lost in the previous merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 19, 2016
1 parent 03f9711 commit dddd6a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/joystick/android/SDL_sysjoystick.c
Expand Up @@ -323,7 +323,6 @@ Android_RemoveJoystick(int device_id)
{
SDL_joylist_item *item = SDL_joylist;
SDL_joylist_item *prev = NULL;
int retval;
#if !SDL_EVENTS_DISABLED
SDL_Event event;
#endif
Expand All @@ -341,7 +340,6 @@ Android_RemoveJoystick(int device_id)
return -1;
}

retval = item->device_instance;
if (item->joystick) {
item->joystick->hwdata = NULL;
}
Expand Down

0 comments on commit dddd6a5

Please sign in to comment.