mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Replace old bigendian marshaller with new one.
This commit is contained in:
@@ -40,7 +40,7 @@ public sealed partial class AmigaDOSPlugin
|
||||
var tmp = new byte[228];
|
||||
Array.Copy(block, 0, tmp, 0, 24);
|
||||
Array.Copy(block, block.Length - 200, tmp, 28, 200);
|
||||
RootBlock root = Marshal.ByteArrayToStructureBigEndianGenerated<RootBlock>(tmp);
|
||||
RootBlock root = Marshal.ByteArrayToStructureBigEndian<RootBlock>(tmp);
|
||||
root.hashTable = new uint[(block.Length - 224) / 4];
|
||||
|
||||
for(var i = 0; i < root.hashTable.Length; i++)
|
||||
|
||||
Reference in New Issue
Block a user