Commit 37c06101 authored by Ryan C. Gordon's avatar Ryan C. Gordon

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
parent 89def2a9
...@@ -107,7 +107,7 @@ void SDL_MixAudio_MMX_S8_VC(char* dst,char* src,unsigned int nSize,int volume) ...@@ -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 esi, src //%1,%%esi // esi = src
mov eax, volume //%3,%%eax // eax = volume mov eax, volume //%3,%%eax // eax = volume
movd mm0, ebx //%%ebx,%%mm0 movd mm0, eax //%%eax,%%mm0
movq mm1, mm0 //%%mm0,%%mm1 movq mm1, mm0 //%%mm0,%%mm1
psllq mm0, 16 //$16,%%mm0 psllq mm0, 16 //$16,%%mm0
por mm0, mm1 //%%mm1,%%mm0 por mm0, mm1 //%%mm1,%%mm0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment