* DiscImageChef.DiscImages/QED.cs:

Correct calculation of tables.

	* DiscImageChef.DiscImages/VDI.cs:
	  Correct IBM reading.

	* DiscImageChef.Filesystems/FAT.cs:
	  Not all FAT16 implementations set media descriptor
	  correctly.

	* DiscImageChef/Commands/Compare.cs:
	  Do not reuse FiltersList, for some reason same filter is
	  being returned already opened.
This commit is contained in:
2016-09-13 20:47:07 +01:00
parent fa9669c8d4
commit 3cdada5883
4 changed files with 19 additions and 17 deletions

View File

@@ -102,7 +102,7 @@ namespace DiscImageChef.Filesystems
if((first_fat_entry & 0xFFFFFFF0) == 0xFFFFFFF0) // Seems to be FAT16
{
if((first_fat_entry & 0xFF) == media_descriptor)
if((first_fat_entry & 0xFF) == media_descriptor || (first_fat_entry & 0xFF) == 0xF0)
return true; // It MUST be FAT16, or... maybe not :S
}
else if((first_fat_entry & 0x00FFFFF0) == 0x00FFFFF0)