/[EmuXPortal]/branches/mono/EmuXPortal/Form1.cs
ViewVC logotype

Diff of /branches/mono/EmuXPortal/Form1.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 138 by william, Thu Oct 4 22:07:59 2012 UTC revision 160 by william, Tue Oct 8 18:39:46 2013 UTC
# Line 282  namespace EmuXPortal Line 282  namespace EmuXPortal
282                  p.StartInfo.FileName = config.Config.GameExe == "" ? config.Config.EmuPath : config.Config.GameExe;                  p.StartInfo.FileName = config.Config.GameExe == "" ? config.Config.EmuPath : config.Config.GameExe;
283                  p.StartInfo.Arguments = config.Config.GameExeArgs == "" ? EmuConfigLoader.GetEMUOptions(log, config) : config.Config.GameExeArgs;                  p.StartInfo.Arguments = config.Config.GameExeArgs == "" ? EmuConfigLoader.GetEMUOptions(log, config) : config.Config.GameExeArgs;
284                  p.Start();                  p.Start();
285    
286                    // minimize EmuXPortal
287                    this.WindowState = FormWindowState.Minimized;
288                    // wait for exit of game
289                    p.WaitForExit();
290                    // maximize EmuXPortal
291                    this.WindowState = FormWindowState.Maximized;
292              }              }
293              if (e.KeyCode == Keys.Back)              if (e.KeyCode == Keys.Back)
294              {              {

Legend:
Removed from v.138  
changed lines
  Added in v.160

  ViewVC Help
Powered by ViewVC 1.1.22