Properly close file descriptors, fix by rwreed@users.sourceforge.net

svn path=/trunk/; revision=5218
This commit is contained in:
Gé van Geldorp 2003-07-22 08:44:38 +00:00
parent b014017354
commit add211f2ff

View file

@ -1057,6 +1057,7 @@ load_module2:
;; ;;
;; Close the file ;; Close the file
;; ;;
pop ds
mov bx, [_current_filehandle] mov bx, [_current_filehandle]
mov ah, 0x3e mov ah, 0x3e
int 0x21 int 0x21
@ -1069,7 +1070,6 @@ load_module2:
;; ;;
;; Copy the tailing part to high memory ;; Copy the tailing part to high memory
;; ;;
pop ds
mov ecx, [_current_size] mov ecx, [_current_size]
mov esi, 0x90000 mov esi, 0x90000
call _himem_copy call _himem_copy