comparison src/video/SDL_stretch.c @ 1234:73676c1f56ee

For sanity's sake, removed the '&' when passing copy_row array to asm.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 06 Jan 2006 13:20:10 +0000
parents 228c94f0b5dc
children c9b51268668f
comparison
equal deleted inserted replaced
1233:228c94f0b5dc 1234:73676c1f56ee
283 default: 283 default:
284 #ifdef __GNUC__ 284 #ifdef __GNUC__
285 __asm__ __volatile__ ( 285 __asm__ __volatile__ (
286 "call *%4" 286 "call *%4"
287 : "=&D" (u1), "=&S" (u2) 287 : "=&D" (u1), "=&S" (u2)
288 : "0" (dstp), "1" (srcp), "r" (&copy_row) 288 : "0" (dstp), "1" (srcp), "r" (copy_row)
289 : "memory" ); 289 : "memory" );
290 #else 290 #else
291 #ifdef WIN32 291 #ifdef WIN32
292 { void *code = &copy_row; 292 { void *code = copy_row;
293 __asm { 293 __asm {
294 push edi 294 push edi
295 push esi 295 push esi
296 296
297 mov edi, dstp 297 mov edi, dstp