Calculate size of Xbox FAT and read it to memory.

This commit is contained in:
2019-04-07 11:41:35 +01:00
parent e6a9144259
commit 6d43c83712
5 changed files with 196 additions and 13 deletions

View File

@@ -36,11 +36,15 @@ namespace DiscImageChef.Filesystems.FATX
{
public partial class XboxFatPlugin
{
const uint FATX_MAGIC = 0x58544146;
const uint FATX_CIGAM = 0x46415458;
const byte UNUSED_DIRENTRY = 0x00;
const byte DELETED_DIRENTRY = 0xE5;
const byte MAX_FILENAME = 42;
const uint FATX_MAGIC = 0x58544146;
const uint FATX_CIGAM = 0x46415458;
const byte UNUSED_DIRENTRY = 0x00;
const byte DELETED_DIRENTRY = 0xE5;
const byte MAX_FILENAME = 42;
const int MAX_XFAT16_CLUSTERS = 65525;
const int FAT_START = 4096;
const uint FATX32_ID = 0xFFFFFFF8;
const ushort FATX16_ID = 0xFFF8;
[Flags]
enum Attributes : byte