summaryrefslogtreecommitdiffstats
path: root/win/C#/Program.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-10-14 16:58:01 +0000
committersr55 <[email protected]>2007-10-14 16:58:01 +0000
commit6a429d65ab6a3fd1fddb87b206d410e2004b5411 (patch)
tree3fff7d210e206d4574573cfa80bddb982b5935d8 /win/C#/Program.cs
parent82ec8fc00a3181c19bc825bf64cf22f6c9e744ca (diff)
WinGui:
- Change: All windows made sizeable - Change: Queue / Media Info Windows now have titles + icon and appear correctly in the task bar. - Change: Minimise box removed in Queue window in favour of the Windows default minimise button. - Fixed: System requirements checker was not confirming the correct amount of ram. - Removed: Code to handle CLI Information without text files. This can not work without all data going out via standard output which has been decided against. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1026 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Program.cs')
-rw-r--r--win/C#/Program.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs
index 07c99e4ce..2bb037bbf 100644
--- a/win/C#/Program.cs
+++ b/win/C#/Program.cs
@@ -41,10 +41,11 @@ namespace Handbrake
// Make sure the system has enough RAM. 384MB or greater
uint memory = MemoryCheck.CheckMemeory();
-
- if (memory < 319) // Set to 319 to allow for 64MB dedicated to video Memory and Windows returnig the memory figure slightly out.
+ memory = memory / 1024 / 1024;
+
+ if (memory < 320)
{
- MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n Insufficient Memory. 384MB or greater required.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ 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);
launch = false;
}
}