Android: Restored Philipp's joystick change, lost in the previous merge.
This patch, specifically: https://hg.libsdl.org/SDL/rev/2455bf5d1866 --HG-- extra : histedit_source : b0bb3fe19f27af6a6098b4354fe2c3913bee9559
This commit is contained in:
parent
0e5bf80595
commit
6bcb829721
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
@ -341,7 +340,6 @@ Android_RemoveJoystick(int device_id)
|
|||
return -1;
|
||||
}
|
||||
|
||||
retval = item->device_instance;
|
||||
if (item->joystick) {
|
||||
item->joystick->hwdata = NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue