Greatly simplified the SDL CPU info code

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40747
This commit is contained in:
Sam Lantinga 2003-11-24 09:22:12 +00:00
parent fb25886c0e
commit 15fabb637b
3 changed files with 5 additions and 58 deletions

View file

@ -146,7 +146,7 @@ void SDL_MixAudio (Uint8 *dst, const Uint8 *src, Uint32 len, int volume)
else
#endif
#if defined(USE_ASM_MIXER_VC)
if (SDL_IsMMX_VC())
if (SDL_HasMMX())
{
SDL_MixAudio_MMX_S8_VC((char*)dst,(char*)src,(unsigned int)len,(int)volume);
}
@ -192,7 +192,7 @@ void SDL_MixAudio (Uint8 *dst, const Uint8 *src, Uint32 len, int volume)
}
else
#elif defined(USE_ASM_MIXER_VC)
if (SDL_IsMMX_VC())
if (SDL_HasMMX())
{
SDL_MixAudio_MMX_S16_VC((char*)dst,(char*)src,(unsigned int)len,(int)volume);
}