mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[FAT] Use new source generator based big endian marshaller
This commit is contained in:
@@ -82,7 +82,7 @@ public sealed partial class FAT
|
||||
|
||||
if(errno != ErrorNumber.NoError) return false;
|
||||
|
||||
HumanParameterBlock humanBpb = Marshal.ByteArrayToStructureBigEndian<HumanParameterBlock>(bpbSector);
|
||||
HumanParameterBlock humanBpb = Marshal.ByteArrayToStructureBigEndianGenerated<HumanParameterBlock>(bpbSector);
|
||||
|
||||
ulong expectedClusters = humanBpb.bpc > 0 ? partition.Size / humanBpb.bpc : 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user