comparison src/audio/SDL_mixer_MMX.c @ 4322:a8e5b518e194 SDL-1.2

Forcibly disabled MMX mixers. Hopefully fixes Bugzilla #649.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 12 Oct 2009 08:58:12 +0000
parents a1b03ba2fcd0
children
comparison
equal deleted inserted replaced
4321:c9a1de1eda57 4322:a8e5b518e194
33 33
34 /*********************************************** 34 /***********************************************
35 * Mixing for 16 bit signed buffers 35 * Mixing for 16 bit signed buffers
36 ***********************************************/ 36 ***********************************************/
37 37
38 #if defined(SDL_BUGGY_MMX_MIXERS) /* buggy, so we're disabling them. --ryan. */
38 #if defined(__GNUC__) && defined(__i386__) && defined(SDL_ASSEMBLY_ROUTINES) 39 #if defined(__GNUC__) && defined(__i386__) && defined(SDL_ASSEMBLY_ROUTINES)
39 void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume) 40 void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume)
40 { 41 {
41 __asm__ __volatile__ ( 42 __asm__ __volatile__ (
42 43
201 "m"(volume) 202 "m"(volume)
202 : "eax","edx","memory" 203 : "eax","edx","memory"
203 ); 204 );
204 } 205 }
205 #endif 206 #endif
206 207 #endif