/[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

--- trunk/EmuXPortal/Form1.cs	2012/04/08 14:34:07	60
+++ trunk/EmuXPortal/Form1.cs	2012/06/19 03:38:40	85
@@ -277,8 +277,9 @@
                 IRomConfig config = c.Tag as IRomConfig;
 
                 Process p = new Process();
-                p.StartInfo.FileName = config.Config.EmuPath;
-                p.StartInfo.Arguments = EmuConfigLoader.GetEMUOptions(config);
+
+                p.StartInfo.FileName = config.Config.GameExe == "" ? config.Config.EmuPath : config.Config.GameExe;
+                p.StartInfo.Arguments = config.Config.GameExeArgs == "" ? EmuConfigLoader.GetEMUOptions(config) : config.Config.GameExeArgs;
                 p.Start();
             }
             if (e.KeyCode == Keys.Back)

 

  ViewVC Help
Powered by ViewVC 1.1.22