mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Fixed bug 3999 - Build failed when try to build with configure script for Android
This commit is contained in:
parent
f1ec8a5f4c
commit
e0d0184f09
@ -165,8 +165,7 @@ SDL_SYS_JoystickIsHaptic(SDL_Joystick *joystick)
|
|||||||
{
|
{
|
||||||
SDL_hapticlist_item *item;
|
SDL_hapticlist_item *item;
|
||||||
item = HapticByDevId(((joystick_hwdata *)joystick->hwdata)->device_id);
|
item = HapticByDevId(((joystick_hwdata *)joystick->hwdata)->device_id);
|
||||||
int ret = (item != NULL ? 1 : 0);
|
return (item != NULL) ? 1 : 0;
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user