Merged r3534:3535 from branches/SDL-1.2: Reset direction flag in SDL_revcpy().
authorRyan C. Gordon <icculus@icculus.org>
Mon, 04 Feb 2008 17:25:33 +0000
changeset 2302 7ae1c419b626
parent 2301 ebcebb426771
child 2303 d87417504c75
Merged r3534:3535 from branches/SDL-1.2: Reset direction flag in SDL_revcpy().
include/SDL_stdinc.h
--- a/include/SDL_stdinc.h	Thu Jan 24 15:51:52 2008 +0000
+++ b/include/SDL_stdinc.h	Mon Feb 04 17:25:33 2008 +0000
@@ -373,6 +373,7 @@
 	__asm__ __volatile__ (				\
 		"std\n\t"				\
 		"rep ; movsl\n\t"			\
+		"cld\n\t"				\
 		: "=&c" (u0), "=&D" (u1), "=&S" (u2)	\
 		: "0" (n >> 2),				\
 		  "1" (dstp+(n-4)), "2" (srcp+(n-4))	\