For sanity's sake, removed the '&' when passing copy_row array to asm.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401237
This commit is contained in:
parent
50b7b55c2c
commit
68e2ab6505
1 changed files with 2 additions and 2 deletions
|
@ -285,11 +285,11 @@ int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
"call *%4"
|
"call *%4"
|
||||||
: "=&D" (u1), "=&S" (u2)
|
: "=&D" (u1), "=&S" (u2)
|
||||||
: "0" (dstp), "1" (srcp), "r" (©_row)
|
: "0" (dstp), "1" (srcp), "r" (copy_row)
|
||||||
: "memory" );
|
: "memory" );
|
||||||
#else
|
#else
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
{ void *code = ©_row;
|
{ void *code = copy_row;
|
||||||
__asm {
|
__asm {
|
||||||
push edi
|
push edi
|
||||||
push esi
|
push esi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue