Fixed windows command line crash (thanks MKendora)

This commit is contained in:
pagefault
2001-05-06 00:17:47 +00:00
parent 6c8e30312e
commit 455ae3338e

View File

@@ -40,6 +40,8 @@ EXTSYM LinuxExit
EXTSYM GetFilename
%endif
EXTSYM OSExit
NEWSYM UIAsmStart
%include "betauser.mac"
@@ -1516,6 +1518,9 @@ NEWSYM DosExit ; Terminate Program
%ifdef __LINUX__
call LinuxExit
%else
%ifdef __WIN32__
call OSExit
%else
jmp .nodeallocate
mov ebx,memfreearray
@@ -1535,4 +1540,5 @@ NEWSYM DosExit ; Terminate Program
mov ax,4c00h ;terminate
int 21h
%endif
%endif
NEWSYM UIAsmEnd