mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-18 15:56:05 +02: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