mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 10:20:41 +00:00
commit
d903b1cc60
@ -572,6 +572,8 @@ static const bool ui_companion_enable = false;
|
|||||||
#if defined(ANDROID)
|
#if defined(ANDROID)
|
||||||
#if defined(ANDROID_ARM)
|
#if defined(ANDROID_ARM)
|
||||||
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/armeabi-v7a/";
|
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/armeabi-v7a/";
|
||||||
|
#elif defined(ANDROID_AARCH64)
|
||||||
|
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/arm64-v8a/";
|
||||||
#elif defined(ANDROID_X86)
|
#elif defined(ANDROID_X86)
|
||||||
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/x86/";
|
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/x86/";
|
||||||
#else
|
#else
|
||||||
|
@ -466,10 +466,15 @@ static bool android_input_init_handle(void)
|
|||||||
{
|
{
|
||||||
if (libandroid_handle != NULL) /* already initialized */
|
if (libandroid_handle != NULL) /* already initialized */
|
||||||
return true;
|
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",
|
if ((libandroid_handle = dlopen("/system/lib/libandroid.so",
|
||||||
RTLD_LOCAL | RTLD_LAZY)) == 0)
|
RTLD_LOCAL | RTLD_LAZY)) == 0)
|
||||||
return false;
|
return false;
|
||||||
|
#endif
|
||||||
|
|
||||||
if ((p_AMotionEvent_getAxisValue = dlsym(RTLD_DEFAULT,
|
if ((p_AMotionEvent_getAxisValue = dlsym(RTLD_DEFAULT,
|
||||||
"AMotionEvent_getAxisValue")))
|
"AMotionEvent_getAxisValue")))
|
||||||
|
@ -42,6 +42,10 @@ DEFINES += -DSINC_LOWER_QUALITY
|
|||||||
DEFINES += -DANDROID_ARM_V7
|
DEFINES += -DANDROID_ARM_V7
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
|
||||||
|
DEFINES += -DANDROID_AARCH64
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_ARCH),mips)
|
ifeq ($(TARGET_ARCH),mips)
|
||||||
DEFINES += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
|
DEFINES += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user