* 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:
nickysn 2015-12-09 15:56:23 +00:00
parent 6bd2b2d41b
commit 9f79eeff0e

View File

@ -115,6 +115,9 @@ begin
Process.Executable := ADosBoxBinaryPath;
Process.Parameters.Add('-conf');
Process.Parameters.Add(ADosBoxDir + 'dosbox.conf');
{$ifdef MSWINDOWS}
Process.ShowWindow := swoHIDE;
{$endif MSWINDOWS}
Process.Execute;
repeat
Inc(Time);