Skip to content

Commit

Permalink
Same inline asm bug in S8 mixer, fixed last night, is also in the MSV…
Browse files Browse the repository at this point in the history
…C version.
  • Loading branch information
icculus committed Sep 28, 2005
1 parent 0e4a82b commit 6dbb297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_mixer_MMX_VC.c
Expand Up @@ -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
Expand Down

0 comments on commit 6dbb297

Please sign in to comment.