mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +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
|
push di
|
||||||
mov dx, 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
|
; Check if it is a symbol file
|
||||||
cmp byte [bx-5],'.'
|
cmp byte [bx-5],'.'
|
||||||
jne .checkForHive
|
jne .checkForHive
|
||||||
|
@ -270,7 +284,7 @@ entry:
|
||||||
jmp .after_copy
|
jmp .after_copy
|
||||||
|
|
||||||
.checkForHive:
|
.checkForHive:
|
||||||
; Check if it is a symbol file
|
; Check if it is a hive file
|
||||||
cmp byte [bx-5],'.'
|
cmp byte [bx-5],'.'
|
||||||
jne .lst_copy
|
jne .lst_copy
|
||||||
cmp byte [bx-4],'h'
|
cmp byte [bx-4],'h'
|
||||||
|
|
Loading…
Reference in a new issue