Przeglądaj źródła

* on Windows, run dosbox with the swoHIDE option to prevent the annoying focus
stealing dosbox consoles from appearing

git-svn-id: trunk@32622 -

nickysn 9 lat temu
rodzic
commit
9f79eeff0e
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      tests/utils/dosbox/dosbox_wrapper.pas

+ 3 - 0
tests/utils/dosbox/dosbox_wrapper.pas

@@ -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);