Mercurial > sdl-ios-xcode
diff src/audio/SDL_mixer.c @ 746:72ef7ce609ef
Greatly simplified the SDL CPU info code
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Nov 2003 09:22:12 +0000 |
parents | 22dbf364c017 |
children | b8d311d90021 |
line wrap: on
line diff
--- a/src/audio/SDL_mixer.c Mon Nov 24 09:16:52 2003 +0000 +++ b/src/audio/SDL_mixer.c Mon Nov 24 09:22:12 2003 +0000 @@ -146,7 +146,7 @@ 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 @@ } 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); }