diff src/video/gem/SDL_gemvideo.c @ 917:24852aeb0657

Lock the screen before doing its backup
author Patrice Mandin <patmandin@gmail.com>
date Mon, 02 Aug 2004 18:39:50 +0000
parents 99f439d6ee4a
children 17822f1f9674
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.c	Sun Jul 25 19:43:56 2004 +0000
+++ b/src/video/gem/SDL_gemvideo.c	Mon Aug 02 18:39:50 2004 +0000
@@ -520,11 +520,11 @@
 static void GEM_LockScreen(_THIS)
 {
 	if (!GEM_locked) {
-		/* Reserve memory space, used to be sure of compatibility */
-		form_dial( FMD_START, 0,0,0,0, 0,0,VDI_w,VDI_h);
 		/* Lock AES */
 		wind_update(BEG_UPDATE);
 		wind_update(BEG_MCTRL);
+		/* Reserve memory space, used to be sure of compatibility */
+		form_dial( FMD_START, 0,0,0,0, 0,0,VDI_w,VDI_h);
 
 		GEM_locked=SDL_TRUE;
 	}