mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-19 01:12:33 +00:00
Refactor performance.c - should use performance_linux.c codepaths
now if __linux__ is defined
This commit is contained in:
parent
7bd5ec0ffe
commit
3914bb7611
@ -363,8 +363,6 @@ unsigned rarch_get_cpu_cores(void)
|
||||
SYSTEM_INFO sysinfo;
|
||||
GetSystemInfo(&sysinfo);
|
||||
return sysinfo.dwNumberOfProcessors;
|
||||
#elif defined(ANDROID)
|
||||
return linux_get_cpu_count();
|
||||
#elif defined(GEKKO)
|
||||
return 1;
|
||||
#elif defined(PSP)
|
||||
@ -397,6 +395,8 @@ unsigned rarch_get_cpu_cores(void)
|
||||
num_cpu = 1;
|
||||
}
|
||||
return num_cpu;
|
||||
#elif defined(__linux__)
|
||||
return linux_get_cpu_count();
|
||||
#elif defined(_XBOX360)
|
||||
return 3;
|
||||
#else
|
||||
@ -504,7 +504,7 @@ uint64_t rarch_get_cpu_features(void)
|
||||
cpu |= RETRO_SIMD_MMXEXT;
|
||||
}
|
||||
|
||||
#elif defined(ANDROID) && defined(ANDROID_ARM)
|
||||
#elif defined(__linux__)
|
||||
cpu_flags = linux_get_cpu_features();
|
||||
|
||||
#ifdef __ARM_NEON__
|
||||
|
Loading…
x
Reference in New Issue
Block a user