To: "'A list for developers using the SDL library. \(includesSDL-announce\)'" <sdl@libsdl.org>
Date: Mon, 19 Sep 2005 18:59:43 -0400
Subject: [SDL] [patch] Volume multiplier bug in

The volume multiplier in SDL_MixAudio_MMX_S8() is formed from the wrong
register.
This commit is contained in:
Ryan C. Gordon
2005-09-27 12:14:17 +00:00
parent b76802c2a6
commit 583b9702f8

View File

@@ -121,7 +121,7 @@ void SDL_MixAudio_MMX_S8(char* dst,char* src,unsigned int size,int volume)
" movl %3,%%eax\n" // eax = volume
" movd %%edx,%%mm0\n"
" movd %%eax,%%mm0\n"
" movq %%mm0,%%mm1\n"
" psllq $16,%%mm0\n"
" por %%mm1,%%mm0\n"