(PSP) Add RETRO_SIMD_VFPU

This commit is contained in:
twinaphex 2014-02-16 17:32:54 +01:00
parent 94dec420cd
commit 83433bea4b
2 changed files with 4 additions and 0 deletions

View File

@ -624,6 +624,7 @@ struct retro_log_callback
#define RETRO_SIMD_SSE4 (1 << 10)
#define RETRO_SIMD_SSE42 (1 << 11)
#define RETRO_SIMD_AVX2 (1 << 12)
#define RETRO_SIMD_VFPU (1 << 13)
typedef uint64_t retro_perf_tick_t;
typedef int64_t retro_time_t;

View File

@ -380,6 +380,9 @@ uint64_t rarch_get_cpu_features(void)
#elif defined(XBOX360)
cpu |= RETRO_SIMD_VMX128;
RARCH_LOG("[CPUID]: VMX128: %u\n", !!(cpu & RETRO_SIMD_VMX128));
#elif defined(PSP)
cpu |= RETRO_SIMD_VFPU;
RARCH_LOG("[CPUID]: VFPU: %u\n", !!(cpu & RETRO_SIMD_VFPU));
#endif
return cpu;