Lock the screen before doing its backup
authorPatrice Mandin <patmandin@gmail.com>
Mon, 02 Aug 2004 18:39:50 +0000
changeset 917 24852aeb0657
parent 916 46916168361d
child 918 17822f1f9674
Lock the screen before doing its backup
src/video/gem/SDL_gemvideo.c
--- 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;
 	}