diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2016-03-27 12:46:38 -0400 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:54:15 +0100 |
commit | f0a1848858e2681e35753a92e9782851125fc275 (patch) | |
tree | 293254ec0d2b310c6465c46a3e0621b5aabf8de3 /src/sys | |
parent | b74cc1c42c5bfb2a0a17fc3c083a5a488c159d0d (diff) |
Sys_GetProcessorFeatures() didn't check for 3DNow! or Altivec.
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/sys_main.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/sys/sys_main.c b/src/sys/sys_main.c index 53084846..2f4b91d7 100644 --- a/src/sys/sys_main.c +++ b/src/sys/sys_main.c @@ -275,10 +275,12 @@ cpuFeatures_t Sys_GetProcessorFeatures( void ) cpuFeatures_t features = 0; #ifndef DEDICATED - if( SDL_HasRDTSC( ) ) features |= CF_RDTSC; - if( SDL_HasMMX( ) ) features |= CF_MMX; - if( SDL_HasSSE( ) ) features |= CF_SSE; - if( SDL_HasSSE2( ) ) features |= CF_SSE2; + if( SDL_HasRDTSC( ) ) features |= CF_RDTSC; + if( SDL_SDL_Has3DNow( ) ) features |= CF_3DNOW; + if( SDL_HasMMX( ) ) features |= CF_MMX; + if( SDL_HasSSE( ) ) features |= CF_SSE; + if( SDL_HasSSE2( ) ) features |= CF_SSE2; + if( SDL_HasAltiVec( ) ) features |= CF_ALTIVEC; #endif return features; |