Same inline asm bug in S8 mixer, fixed last night, is also in the MSVC version.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 28 Sep 2005 03:34:24 +0000
changeset 1149 ef03e8789d59
parent 1148 63fb2da89a4b
child 1150 7d8e1925f35b
Same inline asm bug in S8 mixer, fixed last night, is also in the MSVC version.
src/audio/SDL_mixer_MMX_VC.c
--- a/src/audio/SDL_mixer_MMX_VC.c	Wed Sep 28 02:26:29 2005 +0000
+++ b/src/audio/SDL_mixer_MMX_VC.c	Wed Sep 28 03:34:24 2005 +0000
@@ -107,7 +107,7 @@
 		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