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

@@ -33,6 +33,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.CommonTypes.Interfaces;
using DiscImageChef.CommonTypes.Structs;
using Schemas;
@@ -41,6 +42,18 @@ namespace DiscImageChef.Filesystems.FATX
{
public partial class XboxFatPlugin : IReadOnlyFilesystem
{
ushort[] fat16;
uint[] fat32;
ulong fatStartSector;
ulong firstClusterSector;
IMediaImage imagePlugin;
bool littleEndian;
bool mounted;
Partition partition;
uint sectorsPerCluster;
FileSystemInfo stat;
Superblock superblock;
public FileSystemType XmlFsType { get; private set; }
public Encoding Encoding { get; private set; }
public string Name => "FATX Filesystem Plugin";