🐛Fix DART endianness.

This commit is contained in:
2018-01-21 15:40:08 +00:00
parent fc0a250ed3
commit d54a45463e

View File

@@ -238,6 +238,8 @@ namespace DiscImageChef.DiscImages
bLength = new short[BLOCK_ARRAY_LEN_HIGH]; bLength = new short[BLOCK_ARRAY_LEN_HIGH];
else bLength = new short[BLOCK_ARRAY_LEN_LOW]; else bLength = new short[BLOCK_ARRAY_LEN_LOW];
BigEndianBitConverter.IsLittleEndian = BitConverter.IsLittleEndian;
for(int i = 0; i < bLength.Length; i++) for(int i = 0; i < bLength.Length; i++)
{ {
byte[] tmpShort = new byte[2]; byte[] tmpShort = new byte[2];