mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2024-11-26 04:11:37 +01:00
Add DosExitCode to DosError shl 16 to set ExitCode value in utils/dosbox/exitcode.pas program
This commit is contained in:
parent
dd6efefdbf
commit
7b492b9975
@ -23,7 +23,7 @@ begin
|
||||
SwapVectors;
|
||||
|
||||
if DosError <> 0 then
|
||||
ExitCode := DosError shl 16
|
||||
ExitCode := DosError shl 16 + DosExitCode
|
||||
else
|
||||
ExitCode := DosExitCode;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user