mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-23 19:54:39 +00:00
(C89_BUILD) Fix
This commit is contained in:
parent
ee8c5bfa98
commit
a8b834f2c8
@ -446,6 +446,7 @@ unsigned retro_get_cpu_cores(void)
|
||||
**/
|
||||
uint64_t retro_get_cpu_features(void)
|
||||
{
|
||||
size_t len;
|
||||
int flags[4];
|
||||
int vendor_shuffle[3];
|
||||
char vendor[13] = {0};
|
||||
@ -461,6 +462,7 @@ uint64_t retro_get_cpu_features(void)
|
||||
|
||||
memset(buf, 0, sizeof(buf));
|
||||
|
||||
(void)len;
|
||||
(void)cpu_flags;
|
||||
(void)flags;
|
||||
(void)max_flag;
|
||||
@ -468,7 +470,7 @@ uint64_t retro_get_cpu_features(void)
|
||||
(void)vendor_shuffle;
|
||||
|
||||
#if defined(__MACH__)
|
||||
size_t len = sizeof(size_t);
|
||||
len = sizeof(size_t);
|
||||
if (sysctlbyname("hw.optional.mmx", NULL, &len, NULL, 0) == 0)
|
||||
{
|
||||
cpu |= RETRO_SIMD_MMX;
|
||||
|
Loading…
x
Reference in New Issue
Block a user