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

--- branches/mono/EmuXPortal/Form1.cs	2016/08/17 01:24:40	283
+++ branches/mono/EmuXPortal/Form1.cs	2016/08/18 05:26:09	286
@@ -161,7 +161,7 @@
         }
         void game_ctrl_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
         {
-			gLog.Verbose.Debug.WriteLine ("game_ctrl_PreviewKeyDown() fired -- keycode [{0}]", e.KeyCode);
+			//gLog.Verbose.Debug.WriteLine ("game_ctrl_PreviewKeyDown() fired -- keycode [{0}]", e.KeyCode);
             GameControl c = sender as GameControl;
 
             int changeAmount = 0;
@@ -179,7 +179,7 @@
                     if (isFavorite)
                     {
                         // add to favorites
-                        gLog.Debug.WriteLine("Removing from favorites: {0} [{1}]", config.RomTitle, config.RomFile);
+                        //gLog.Debug.WriteLine("Removing from favorites: {0} [{1}]", config.RomTitle, config.RomFile);
                         if (!RomFavorite.RemoveFavorite(config))
                         {
                             gLog.Error.WriteLine("Failed to remove from favorites: {0} [{1}]", config.RomTitle, config.RomFile);
@@ -208,7 +208,7 @@
                     else
                     {
                         // add to favorites
-                        gLog.Debug.WriteLine("Adding to favorites: {0} [{1}]", config.RomTitle, config.RomFile);
+                        //gLog.Debug.WriteLine("Adding to favorites: {0} [{1}]", config.RomTitle, config.RomFile);
                         if (!RomFavorite.AddFavorite(config))
                         {
                             gLog.Error.WriteLine("Failed to add to favorites: {0} [{1}]", config.RomTitle, config.RomFile);
@@ -218,7 +218,7 @@
                             gLog.Info.WriteLine("Added to favorites: {0} [{1}]", config.RomTitle, config.RomFile);
                         }
                     }
-                    gLog.Debug.WriteLine("Updateing favorites");
+                    //gLog.Debug.WriteLine("Updateing favorites");
                     if (!RomFavorite.UpdateFavorites())
                     {
                         gLog.Error.WriteLine("Failed to update favorites");
@@ -328,8 +328,8 @@
                 p.StartInfo.FileName = config.Config.GameExe == "" ? config.Config.EmuPath : config.Config.GameExe;
                 p.StartInfo.Arguments = config.Config.GameExeArgs == "" ? EmuConfigLoader.GetEMUOptions(config) : config.Config.GameExeArgs;
 
-				gLog.Verbose.Debug.WriteLine ("Emulator: {0}", p.StartInfo.FileName);
-				gLog.Verbose.Debug.WriteLine ("Args: {0}", p.StartInfo.Arguments);
+				//gLog.Verbose.Debug.WriteLine ("Emulator: {0}", p.StartInfo.FileName);
+				//gLog.Verbose.Debug.WriteLine ("Args: {0}", p.StartInfo.Arguments);
                 p.Start();
 
                 // minimize EmuXPortal
@@ -386,7 +386,7 @@
         }
         void platform_ctrl_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
         {
-			gLog.Verbose.Debug.WriteLine ("platform_ctrl_PreviewKeyDown() fired -- keycode [{0}]", e.KeyCode);
+			//gLog.Verbose.Debug.WriteLine ("platform_ctrl_PreviewKeyDown() fired -- keycode [{0}]", e.KeyCode);
             PlatformControl c = sender as PlatformControl;
             int changeAmount = 0;
             int currentPosition = 0;
@@ -800,7 +800,7 @@
             }
             rom_flow.Controls[0].Select();
             t.Stop();
-            gLog.Profiler.WriteLine("RomParser took: {0}s to parse roms", (int)t.Elapsed.TotalSeconds);
+            //gLog.Profiler.WriteLine("RomParser took: {0}s to parse roms", (int)t.Elapsed.TotalSeconds);
         }
         #endregion
         #region platformWorker
@@ -884,7 +884,7 @@
 			} else {
 				platform_flow.Controls[0].Select();
 			}
-            gLog.Profiler.WriteLine("PlatformParser took: {0}s to parse platforms", (int)t.Elapsed.TotalSeconds);
+           //gLog.Profiler.WriteLine("PlatformParser took: {0}s to parse platforms", (int)t.Elapsed.TotalSeconds);
         }
         #endregion
 

 

  ViewVC Help
Powered by ViewVC 1.1.22