mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
Enable loading of binary hive files (without file extension).
svn path=/trunk/; revision=4458
This commit is contained in:
parent
14952fd4f9
commit
4dc8e937b1
|
@ -256,6 +256,20 @@ entry:
|
|||
push di
|
||||
mov dx, di
|
||||
|
||||
; Check if it is a binary hive file
|
||||
cmp byte [bx-5],'.'
|
||||
je .checkForSymbol
|
||||
cmp byte [bx-4],'.'
|
||||
je .checkForSymbol
|
||||
cmp byte [bx-3],'.'
|
||||
je .checkForSymbol
|
||||
cmp byte [bx-2],'.'
|
||||
je .checkForSymbol
|
||||
|
||||
call sym_load_module
|
||||
jmp .after_copy
|
||||
|
||||
.checkForSymbol:
|
||||
; Check if it is a symbol file
|
||||
cmp byte [bx-5],'.'
|
||||
jne .checkForHive
|
||||
|
@ -270,7 +284,7 @@ entry:
|
|||
jmp .after_copy
|
||||
|
||||
.checkForHive:
|
||||
; Check if it is a symbol file
|
||||
; Check if it is a hive file
|
||||
cmp byte [bx-5],'.'
|
||||
jne .lst_copy
|
||||
cmp byte [bx-4],'h'
|
||||
|
|
Loading…
Reference in a new issue