Skip to content

Commit

Permalink
For sanity's sake, removed the '&' when passing copy_row array to asm.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 6, 2006
1 parent c49b59d commit 5918eb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/SDL_stretch.c
Expand Up @@ -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
Expand Down

0 comments on commit 5918eb9

Please sign in to comment.