mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
Accept .nls files.
svn path=/trunk/; revision=4690
This commit is contained in:
parent
7295ea3de1
commit
14e53ad5b6
|
@ -286,12 +286,26 @@ entry:
|
|||
.checkForHive:
|
||||
; Check if it is a hive file
|
||||
cmp byte [bx-5],'.'
|
||||
jne .lst_copy
|
||||
jne .checkForNls
|
||||
cmp byte [bx-4],'h'
|
||||
jne .lst_copy
|
||||
jne .checkForNls
|
||||
cmp byte [bx-3],'i'
|
||||
jne .lst_copy
|
||||
jne .checkForNls
|
||||
cmp byte [bx-2],'v'
|
||||
jne .checkForNls
|
||||
|
||||
call sym_load_module
|
||||
jmp .after_copy
|
||||
|
||||
.checkForNls:
|
||||
; Check if it is a NLS file
|
||||
cmp byte [bx-5],'.'
|
||||
jne .lst_copy
|
||||
cmp byte [bx-4],'n'
|
||||
jne .lst_copy
|
||||
cmp byte [bx-3],'l'
|
||||
jne .lst_copy
|
||||
cmp byte [bx-2],'s'
|
||||
jne .lst_copy
|
||||
|
||||
call sym_load_module
|
||||
|
|
Loading…
Reference in a new issue