This commit is contained in:
LibretroAdmin 2022-08-24 15:09:51 +02:00
parent 6894600d41
commit 6b9a382f2e

View File

@ -272,6 +272,9 @@ retro_time_t cpu_features_get_time_usec(void)
#if defined(__x86_64__) || defined(__i386__) || defined(__i486__) || defined(__i686__) || (defined(_M_X64) && _MSC_VER > 1310) || (defined(_M_IX86) && _MSC_VER > 1310) #if defined(__x86_64__) || defined(__i386__) || defined(__i486__) || defined(__i686__) || (defined(_M_X64) && _MSC_VER > 1310) || (defined(_M_IX86) && _MSC_VER > 1310)
#define CPU_X86 #define CPU_X86
#elif defined(__ARM_ARCH) || defined(__TARGET_ARCH_ARM) || defined(_M_ARM) || defined(__arm__) || \
defined(__arm64) || defined(_M_ARM64) || defined(__aarch64__) || defined(__AARCH64EL__)
#define CPU_ARM
#endif #endif
#if defined(_MSC_VER) && !defined(_XBOX) #if defined(_MSC_VER) && !defined(_XBOX)
@ -356,7 +359,7 @@ static void arm_enable_runfast_mode(void)
#endif #endif
#endif #endif
#if defined(__linux__) && !defined(CPU_X86) #if defined(__linux__) && defined(CPU_ARM)
static unsigned char check_arm_cpu_feature(const char* feature) static unsigned char check_arm_cpu_feature(const char* feature)
{ {
char line[1024]; char line[1024];