Hardware/HexStringArray.cs
changeset 272 037a2d66082f
parent 246 59024371cd50
child 277 5c80f37c0330
     1.1 --- a/Hardware/HexStringArray.cs	Sat Apr 16 13:19:13 2011 +0000
     1.2 +++ b/Hardware/HexStringArray.cs	Sat Apr 16 14:49:47 2011 +0000
     1.3 @@ -48,7 +48,8 @@
     1.4        foreach (string line in lines) {
     1.5          string[] array = line.Split(new[] { ' ' }, 
     1.6            StringSplitOptions.RemoveEmptyEntries);
     1.7 -
     1.8 +        if (array.Length == 0)
     1.9 +          continue; 
    1.10          if (Convert.ToInt32(array[0], 16) == (address & 0xFFF0)) 
    1.11            return Convert.ToByte(array[(address & 0x0F) + 1], 16);
    1.12        }