mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Close the files after loading.
svn path=/trunk/; revision=3216
This commit is contained in:
parent
a0e70e46a2
commit
0ff8db0de8
1 changed files with 6 additions and 0 deletions
|
@ -1026,6 +1026,12 @@ load_module2:
|
||||||
mov dx, error_file_read_failed
|
mov dx, error_file_read_failed
|
||||||
jmp error
|
jmp error
|
||||||
.read_last_data_succeeded:
|
.read_last_data_succeeded:
|
||||||
|
;;
|
||||||
|
;; Close the file
|
||||||
|
;;
|
||||||
|
mov bx, [_current_filehandle]
|
||||||
|
mov ah, 0x3e
|
||||||
|
int 0x21
|
||||||
%ifndef NDEBUG
|
%ifndef NDEBUG
|
||||||
mov ah,02h
|
mov ah,02h
|
||||||
mov dl,'#'
|
mov dl,'#'
|
||||||
|
|
Loading…
Reference in a new issue