changeset 1149:ef03e8789d59

Same inline asm bug in S8 mixer, fixed last night, is also in the MSVC version.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 28 Sep 2005 03:34:24 +0000
parents 63fb2da89a4b
children 7d8e1925f35b
files src/audio/SDL_mixer_MMX_VC.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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