Fixed video fail restore.

This commit is contained in:
n-a-c-h
2005-02-06 19:04:55 +00:00
parent f6f99cd854
commit 1d370c95cd
2 changed files with 5 additions and 2 deletions

View File

@@ -2851,11 +2851,13 @@ guipostvideo:
call vidpastecopyscr call vidpastecopyscr
; Wait for all mouse and input data to be 0 ; Wait for all mouse and input data to be 0
.again cmp dword[GUIkeydelay],0
je .pressedokay
call JoyRead call JoyRead
cmp byte[pressed+39h],0 cmp byte[pressed+39h],0
jne .pressedokay jne .pressedokay
jmp .again jmp .pressedfail
.pressedokay .pressedokay
mov byte[GUIpclicked],1 mov byte[GUIpclicked],1
ret ret

View File

@@ -844,6 +844,7 @@ GUIProcVideo:
mov [cfgcvidmode],al mov [cfgcvidmode],al
call initvideo call initvideo
call GUISetPal call GUISetPal
call vidpastecopyscr
mov dword[GUIkeydelay],0 mov dword[GUIkeydelay],0
ret ret
SECTION .bss SECTION .bss