Skip to content
Permalink
Browse files

Greatly simplified the SDL CPU info code

  • Loading branch information
slouken committed Nov 24, 2003
1 parent 03c29e6 commit 83e36e7aad82b05924432690ce04bcc390d81738

File 1 of 3 in 83e36e7

@@ -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);
}

0 comments on commit 83e36e7

Please sign in to comment.