mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 16:29:24 +02:00
* on Windows, run dosbox with the swoHIDE option to prevent the annoying focus
stealing dosbox consoles from appearing git-svn-id: trunk@32622 -
This commit is contained in:
parent
6bd2b2d41b
commit
9f79eeff0e
@ -115,6 +115,9 @@ begin
|
|||||||
Process.Executable := ADosBoxBinaryPath;
|
Process.Executable := ADosBoxBinaryPath;
|
||||||
Process.Parameters.Add('-conf');
|
Process.Parameters.Add('-conf');
|
||||||
Process.Parameters.Add(ADosBoxDir + 'dosbox.conf');
|
Process.Parameters.Add(ADosBoxDir + 'dosbox.conf');
|
||||||
|
{$ifdef MSWINDOWS}
|
||||||
|
Process.ShowWindow := swoHIDE;
|
||||||
|
{$endif MSWINDOWS}
|
||||||
Process.Execute;
|
Process.Execute;
|
||||||
repeat
|
repeat
|
||||||
Inc(Time);
|
Inc(Time);
|
||||||
|
Loading…
Reference in New Issue
Block a user