Lock the screen before doing its backup

This commit is contained in:
Patrice Mandin
2004-08-02 18:39:50 +00:00
parent 642e013da0
commit ee49809e28

View File

@@ -520,11 +520,11 @@ static void GEM_ClearScreen(_THIS)
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;
}