Fix calculation of FAT size in Xbox 360 FAT filesystem.

This commit is contained in:
2019-04-14 16:37:07 +01:00
parent a45e5aa0e3
commit 2fbc979f14
2 changed files with 26 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ namespace DiscImageChef.Filesystems.FATX
if(fatxSb.magic != FATX_MAGIC) return;
int logicalSectorsPerPhysicalSectors = partition.Offset == 0 ? 8 : 1;
int logicalSectorsPerPhysicalSectors = partition.Offset == 0 && !bigEndian ? 8 : 1;
StringBuilder sb = new StringBuilder();