mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Cleanup AMotionEvent_getAxisValue check
I though it was a weak loading but in fact it's explicit so loading with some define magic, so we need to check for p_AMotionEvent_getAxisValue to be clean. Binary code is actually the same Tested by reverting path fix
This commit is contained in:
parent
6d8cbd2c4b
commit
193d40bae4
@ -687,7 +687,7 @@ static INLINE void android_mouse_calculate_deltas(android_input_t *android,
|
||||
}
|
||||
|
||||
/* This axis is only available on Android Nougat and on Android devices with NVIDIA extensions */
|
||||
if (AMotionEvent_getAxisValue)
|
||||
if (p_AMotionEvent_getAxisValue)
|
||||
{
|
||||
x = AMotionEvent_getAxisValue(event,AMOTION_EVENT_AXIS_RELATIVE_X, motion_ptr);
|
||||
y = AMotionEvent_getAxisValue(event,AMOTION_EVENT_AXIS_RELATIVE_Y, motion_ptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user