changeset 2302:7ae1c419b626

Merged r3534:3535 from branches/SDL-1.2: Reset direction flag in SDL_revcpy().
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 04 Feb 2008 17:25:33 +0000
parents ebcebb426771
children d87417504c75
files include/SDL_stdinc.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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))	\