OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / Program.cs
index b5af0d7..e764a1c 100644 (file)
@@ -23,9 +23,6 @@ namespace Handbrake
         [STAThread]\r
         static void Main()\r
         {\r
-            // 633265950858281250 = 16:52 28-Sep-07  //864000000000 nanoseconds per day\r
-            //long start = DateTime.Now.Ticks;\r
-            //if (start > 633274593039531250) {MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; } // Will Expire Oct 8th\r
 \r
             // Check the system meets the system requirements.\r
             Boolean launch = true;\r
@@ -42,19 +39,16 @@ namespace Handbrake
                 // Make sure the system has enough RAM. 384MB or greater\r
                 uint memory = MemoryCheck.CheckMemeory();\r
                 memory = memory / 1024 / 1024;\r
-               \r
-                if (memory < 320)\r
+\r
+                if (memory < 256)\r
                 {\r
-                    MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n Insufficient RAM. 512MB or greater required. You have: " + memory.ToString() + "MB", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
+                    MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n Insufficient RAM. 384MB or greater required. You have: " + memory.ToString() + "MB", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
                     launch = false;\r
                 }\r
             }\r
             catch (Exception exc)\r
             {\r
-                if (Properties.Settings.Default.GuiDebug == "Checked")\r
-                {\r
-                    MessageBox.Show("frmMain.cs - systemCheck() " + exc.ToString());\r
-                }\r
+                MessageBox.Show("frmMain.cs - systemCheck() " + exc.ToString());\r
             }\r
 \r
 \r