SDL: Fixed audiotypecvt assertion when without CPUInfo (#7464)

From 8973d20f395327fe3bb2d68658787434066dcc79 Mon Sep 17 00:00:00 2001
From: Emily Banerjee <[EMAIL REDACTED]>
Date: Wed, 29 Mar 2023 16:22:57 +0100
Subject: [PATCH] Fixed audiotypecvt assertion when without CPUInfo (#7464)

---
 src/audio/SDL_audiotypecvt.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/audio/SDL_audiotypecvt.c b/src/audio/SDL_audiotypecvt.c
index 7e83b52696b8..78b4742451b8 100644
--- a/src/audio/SDL_audiotypecvt.c
+++ b/src/audio/SDL_audiotypecvt.c
@@ -23,6 +23,8 @@
 #include "SDL_audio_c.h"
 #include "SDL_audiocvt_c.h"
 
+
+#ifndef SDL_CPUINFO_DISABLED
 #if defined(__x86_64__) && SDL_SSE2_INTRINSICS
 #define NEED_SCALAR_CONVERTER_FALLBACKS 0 /* x86_64 guarantees SSE2. */
 #elif __MACOS__ && SDL_SSE2_INTRINSICS
@@ -32,9 +34,10 @@
 #elif defined(__APPLE__) && defined(__ARM_ARCH) && (__ARM_ARCH >= 7) && SDL_NEON_INTRINSICS
 #define NEED_SCALAR_CONVERTER_FALLBACKS 0 /* All Apple ARMv7 chips promise NEON support. */
 #endif
+#endif
 
 /* Set to zero if platform is guaranteed to use a SIMD codepath here. */
-#ifndef NEED_SCALAR_CONVERTER_FALLBACKS
+#if !defined(NEED_SCALAR_CONVERTER_FALLBACKS) || SDL_CPUINFO_DISABLED
 #define NEED_SCALAR_CONVERTER_FALLBACKS 1
 #endif