Fixed windows command line crash (thanks MKendora)
This commit is contained in:
@@ -40,6 +40,8 @@ EXTSYM LinuxExit
|
|||||||
EXTSYM GetFilename
|
EXTSYM GetFilename
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
EXTSYM OSExit
|
||||||
|
|
||||||
NEWSYM UIAsmStart
|
NEWSYM UIAsmStart
|
||||||
%include "betauser.mac"
|
%include "betauser.mac"
|
||||||
|
|
||||||
@@ -1516,6 +1518,9 @@ NEWSYM DosExit ; Terminate Program
|
|||||||
%ifdef __LINUX__
|
%ifdef __LINUX__
|
||||||
call LinuxExit
|
call LinuxExit
|
||||||
%else
|
%else
|
||||||
|
%ifdef __WIN32__
|
||||||
|
call OSExit
|
||||||
|
%else
|
||||||
jmp .nodeallocate
|
jmp .nodeallocate
|
||||||
|
|
||||||
mov ebx,memfreearray
|
mov ebx,memfreearray
|
||||||
@@ -1535,4 +1540,5 @@ NEWSYM DosExit ; Terminate Program
|
|||||||
mov ax,4c00h ;terminate
|
mov ax,4c00h ;terminate
|
||||||
int 21h
|
int 21h
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
NEWSYM UIAsmEnd
|
NEWSYM UIAsmEnd
|
||||||
|
|||||||
Reference in New Issue
Block a user