Skip to content
Permalink
Browse files
For sanity's sake, removed the '&' when passing copy_row array to asm.
  • Loading branch information
icculus committed Jan 6, 2006
1 parent c49b59d commit 5918eb9a7c3b734e1420cd1733f43dc04517e944
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/video/SDL_stretch.c
@@ -285,11 +285,11 @@ int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
__asm__ __volatile__ (
"call *%4"
: "=&D" (u1), "=&S" (u2)
: "0" (dstp), "1" (srcp), "r" (&copy_row)
: "0" (dstp), "1" (srcp), "r" (copy_row)
: "memory" );
#else
#ifdef WIN32
{ void *code = &copy_row;
{ void *code = copy_row;
__asm {
push edi
push esi

0 comments on commit 5918eb9

Please sign in to comment.