* DiscImageChef.Filesystems/FAT.cs:

Add sanity check for BPB.

	* DiscImageChef.Filesystems/AppleHFS.cs:
	  Correct calling of Read2048SectorAs512()

	* DiscImageChef.Decoders/CD/Sector.cs:
	* DiscImageChef.Decoders/DiscImageChef.Decoders.csproj:
	  Added CD sector descrambling.
This commit is contained in:
2016-10-08 04:29:04 +01:00
parent c4793223d5
commit eeb313e42d
7 changed files with 276 additions and 5 deletions

View File

@@ -85,6 +85,9 @@ namespace DiscImageChef.Filesystems
if(bpb_found)
{
if(bpb_sector[0x0D] == 0)
return false;
first_fat_entry = BitConverter.ToUInt32(fat_sector, 0); // Easier to manage
DicConsole.DebugWriteLine("FAT plugin", "fats_no = {0}", fats_no);