Same inline asm bug in S8 mixer, fixed last night, is also in the MSVC version.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401152
This commit is contained in:
Ryan C. Gordon 2005-09-28 03:34:24 +00:00
parent 89def2a9d1
commit 37c0610107

View file

@ -107,7 +107,7 @@ void SDL_MixAudio_MMX_S8_VC(char* dst,char* src,unsigned int nSize,int volume)
mov esi, src //%1,%%esi // esi = src
mov eax, volume //%3,%%eax // eax = volume
movd mm0, ebx //%%ebx,%%mm0
movd mm0, eax //%%eax,%%mm0
movq mm1, mm0 //%%mm0,%%mm1
psllq mm0, 16 //$16,%%mm0
por mm0, mm1 //%%mm1,%%mm0