mirror of
https://github.com/yawut/SDL.git
synced 2026-09-30 04:06:44 -05:00
For sanity's sake, removed the '&' when passing copy_row array to asm.
This commit is contained in:
@@ -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" (©_row)
|
||||
: "0" (dstp), "1" (srcp), "r" (copy_row)
|
||||
: "memory" );
|
||||
#else
|
||||
#ifdef WIN32
|
||||
{ void *code = ©_row;
|
||||
{ void *code = copy_row;
|
||||
__asm {
|
||||
push edi
|
||||
push esi
|
||||
|
||||
Reference in New Issue
Block a user