summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/MainAndroid.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-11-30 01:29:41 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2014-11-30 01:33:11 -0600
commit50582b1d74801b89aa7360836199d82fc88ea791 (patch)
tree89f6539b537986c43670bec45f16d9980156707e /Source/Core/DolphinWX/MainAndroid.cpp
parentd4125231f39924c7393f594288d3480e040579b4 (diff)
[Android] Fix NEON detection with AArch64
On AArch64 asimd is the new name for NEON. This fixes a message on application start in Android about the device not supporting NEON. If it's AArch64 then it supports NEON!
Diffstat (limited to 'Source/Core/DolphinWX/MainAndroid.cpp')
-rw-r--r--Source/Core/DolphinWX/MainAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/MainAndroid.cpp b/Source/Core/DolphinWX/MainAndroid.cpp
index 273b0c4664..47a03d82f9 100644
--- a/Source/Core/DolphinWX/MainAndroid.cpp
+++ b/Source/Core/DolphinWX/MainAndroid.cpp
@@ -255,7 +255,7 @@ JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_GetVersio
JNIEXPORT jboolean JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SupportsNEON(JNIEnv *env, jobject obj)
{
- return cpu_info.bNEON;
+ return cpu_info.bNEON || cpu_info.bASIMD;
}
JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SaveScreenShot(JNIEnv *env, jobject obj)