mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user