mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(__MACH__) Re-set 'len' again after usage
This commit is contained in:
parent
310b2674f5
commit
2df84f2887
1 changed files with 1 additions and 0 deletions
|
@ -550,6 +550,7 @@ uint64_t retro_get_cpu_features(void)
|
|||
int has_neon, has_altivec;
|
||||
size_t len = sizeof(size_t);
|
||||
sysctlbyname("hw.optional.altivec", &has_altivec, &len, NULL, 0);
|
||||
len = sizeof(size_t);
|
||||
sysctlbyname("hw.optional.neon", &has_neon, &len, NULL, 0);
|
||||
|
||||
if (has_neon)
|
||||
|
|
Loading…
Add table
Reference in a new issue