1.1 --- a/Hardware/LPC/F718XX.cs Sun Aug 08 13:57:26 2010 +0000
1.2 +++ b/Hardware/LPC/F718XX.cs Thu Aug 12 20:53:27 2010 +0000
1.3 @@ -37,6 +37,7 @@
1.4
1.5 using System;
1.6 using System.Collections.Generic;
1.7 +using System.Globalization;
1.8 using System.Text;
1.9
1.10 namespace OpenHardwareMonitor.Hardware.LPC {
1.11 @@ -84,7 +85,8 @@
1.12
1.13 r.AppendLine("LPC " + this.GetType().Name);
1.14 r.AppendLine();
1.15 - r.Append("Base Adress: 0x"); r.AppendLine(address.ToString("X4"));
1.16 + r.Append("Base Adress: 0x");
1.17 + r.AppendLine(address.ToString("X4", CultureInfo.InvariantCulture));
1.18 r.AppendLine();
1.19
1.20 if (!WinRing0.WaitIsaBusMutex(100))
1.21 @@ -95,10 +97,13 @@
1.22 r.AppendLine(" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F");
1.23 r.AppendLine();
1.24 for (int i = 0; i <= 0xF; i++) {
1.25 - r.Append(" "); r.Append((i << 4).ToString("X2")); r.Append(" ");
1.26 + r.Append(" ");
1.27 + r.Append((i << 4).ToString("X2", CultureInfo.InvariantCulture));
1.28 + r.Append(" ");
1.29 for (int j = 0; j <= 0xF; j++) {
1.30 r.Append(" ");
1.31 - r.Append(ReadByte((byte)((i << 4) | j)).ToString("X2"));
1.32 + r.Append(ReadByte((byte)((i << 4) | j)).ToString("X2",
1.33 + CultureInfo.InvariantCulture));
1.34 }
1.35 r.AppendLine();
1.36 }