ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Main.cs
(Generate patch)

Comparing trunk/RomCheater/Main.cs (file contents):
Revision 96 by william, Wed May 9 22:42:57 2012 UTC vs.
Revision 97 by william, Wed May 9 22:48:59 2012 UTC

--- 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 @@ namespace RomCheater
             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()
         {