/[RomCheater]/trunk/RomCheater/Main.cs
ViewVC logotype

Diff of /trunk/RomCheater/Main.cs

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

--- trunk/RomCheater/Main.cs	2012/05/09 22:42:57	96
+++ trunk/RomCheater/Main.cs	2012/05/09 22:48:59	97
@@ -42,14 +42,13 @@
             load_loggerflags();
             LoggerInstance = logwriter;
             LoggerInstance.CreateNewLog(false);
-            logger.ForceLog.Info.WriteLine("LoggingFlags = 0x{1:x4} ({0})", (loggerflags)Logging.Properties.Settings.Default.LoggingFlags, Logging.Properties.Settings.Default.LoggingFlags);
+            logger.ForceLog.Info.WriteLine("LoggingFlags = 0x{0:x4} ({1})", (ushort)logger.GetLoggingFlags(), logger.GetLoggingFlags().ToString());
             load_plugins();
         }
 
         private void load_loggerflags()
         {
-            logger.SetLoggingFlags((loggerflags)Logging.Properties.Settings.Default.LoggingFlags);
-            
+            logger.SetLoggingFlags((loggerflags)Logging.Properties.Settings.Default.LoggingFlags);           
         }
         private void load_plugins()
         {

 

  ViewVC Help
Powered by ViewVC 1.1.22