mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-09 05:07:00 +00:00
dlopen libandroid from lib64 instead
This commit is contained in:
parent
8f55e77afe
commit
304a647248
@ -466,10 +466,15 @@ static bool android_input_init_handle(void)
|
||||
{
|
||||
if (libandroid_handle != NULL) /* already initialized */
|
||||
return true;
|
||||
|
||||
#ifdef ANDROID_AARCH64
|
||||
if ((libandroid_handle = dlopen("/system/lib64/libandroid.so",
|
||||
RTLD_LOCAL | RTLD_LAZY)) == 0)
|
||||
return false;
|
||||
#else
|
||||
if ((libandroid_handle = dlopen("/system/lib/libandroid.so",
|
||||
RTLD_LOCAL | RTLD_LAZY)) == 0)
|
||||
return false;
|
||||
return false;
|
||||
#endif
|
||||
|
||||
if ((p_AMotionEvent_getAxisValue = dlsym(RTLD_DEFAULT,
|
||||
"AMotionEvent_getAxisValue")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user