diff -r 813d8bc3192f -r fa9dfbfc4145 Hardware/LPC/W836XX.cs --- a/Hardware/LPC/W836XX.cs Sun Aug 08 13:57:26 2010 +0000 +++ b/Hardware/LPC/W836XX.cs Thu Aug 12 20:53:27 2010 +0000 @@ -37,6 +37,7 @@ using System; using System.Collections.Generic; +using System.Globalization; using System.Text; namespace OpenHardwareMonitor.Hardware.LPC { @@ -291,8 +292,10 @@ r.AppendLine("LPC " + this.GetType().Name); r.AppendLine(); r.Append("Chip ID: 0x"); r.AppendLine(chip.ToString("X")); - r.Append("Chip revision: 0x"); r.AppendLine(revision.ToString("X")); - r.Append("Base Adress: 0x"); r.AppendLine(address.ToString("X4")); + r.Append("Chip revision: 0x"); + r.AppendLine(revision.ToString("X", CultureInfo.InvariantCulture)); + r.Append("Base Adress: 0x"); + r.AppendLine(address.ToString("X4", CultureInfo.InvariantCulture)); r.AppendLine(); if (!WinRing0.WaitIsaBusMutex(100)) @@ -303,21 +306,26 @@ r.AppendLine(" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F"); r.AppendLine(); for (int i = 0; i <= 0x7; i++) { - r.Append(" "); r.Append((i << 4).ToString("X2")); r.Append(" "); + r.Append(" "); + r.Append((i << 4).ToString("X2", CultureInfo.InvariantCulture)); + r.Append(" "); for (int j = 0; j <= 0xF; j++) { r.Append(" "); - r.Append(ReadByte(0, (byte)((i << 4) | j)).ToString("X2")); + r.Append(ReadByte(0, (byte)((i << 4) | j)).ToString( + "X2", CultureInfo.InvariantCulture)); } r.AppendLine(); } for (int k = 1; k <= 15; k++) { r.AppendLine("Bank " + k); for (int i = 0x5; i < 0x6; i++) { - r.Append(" "); r.Append((i << 4).ToString("X2")); r.Append(" "); + r.Append(" "); + r.Append((i << 4).ToString("X2", CultureInfo.InvariantCulture)); + r.Append(" "); for (int j = 0; j <= 0xF; j++) { r.Append(" "); - r.Append(ReadByte((byte)(k), - (byte)((i << 4) | j)).ToString("X2")); + r.Append(ReadByte((byte)(k), (byte)((i << 4) | j)).ToString( + "X2", CultureInfo.InvariantCulture)); } r.AppendLine(); }