forked from KolibriOS/kolibrios
Bugfix in boot screen: avoid hangup in some situations
git-svn-id: svn://kolibrios.org@738 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d09388a32f
commit
da14e74a6d
@ -386,7 +386,9 @@ check_first_parm:
|
|||||||
.next_step:
|
.next_step:
|
||||||
sub ax,size_of_step*long_v_table
|
sub ax,size_of_step*long_v_table
|
||||||
cmp ax,modes_table
|
cmp ax,modes_table
|
||||||
jb .zerro
|
jae @f
|
||||||
|
mov ax,modes_table
|
||||||
|
@@:
|
||||||
|
|
||||||
mov word[home_cursor],ax
|
mov word[home_cursor],ax
|
||||||
push word [preboot_graph]
|
push word [preboot_graph]
|
||||||
|
@ -343,8 +343,10 @@ sot_exit:
|
|||||||
;
|
;
|
||||||
;***************************************************************************
|
;***************************************************************************
|
||||||
socket_close:
|
socket_close:
|
||||||
Index2RealAddr ebx
|
|
||||||
mov eax, 0xFFFFFFFF ; assume this operation will fail..
|
mov eax, 0xFFFFFFFF ; assume this operation will fail..
|
||||||
|
cmp ebx, NUM_SOCKETS
|
||||||
|
jae sc_exit
|
||||||
|
Index2RealAddr ebx
|
||||||
cmp [ebx + SOCKET.Status], dword SOCK_EMPTY
|
cmp [ebx + SOCKET.Status], dword SOCK_EMPTY
|
||||||
jz sc_exit
|
jz sc_exit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user