Commit 46a13ad97a3ef552c0e5cdde7bf9f94970d4198e

Pierre Wendling 2022-09-18T12:35:32

N3DS: NEON is likely not supported.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c
index 6ba5c85..c05c88c 100644
--- a/src/cpuinfo/SDL_cpuinfo.c
+++ b/src/cpuinfo/SDL_cpuinfo.c
@@ -469,7 +469,7 @@ CPU_haveNEON(void)
 #elif __VITA__
     return 1;
 #elif __3DS__
-    return 1;
+    return 0;
 #elif defined(__APPLE__) && defined(__ARM_ARCH) && (__ARM_ARCH >= 7)
     /* (note that sysctlbyname("hw.optional.neon") doesn't work!) */
     return 1;  /* all Apple ARMv7 chips and later have NEON. */