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
; Wait for all mouse and input data to be 0
.again
cmp dword[GUIkeydelay],0
je .pressedokay
call JoyRead
cmp byte[pressed+39h],0
jne .pressedokay
jmp .again
jmp .pressedfail
.pressedokay
mov byte[GUIpclicked],1
ret