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:
@@ -52,7 +52,7 @@ public sealed partial class LIF
|
||||
|
||||
if(errno != ErrorNumber.NoError) return false;
|
||||
|
||||
SystemBlock lifSb = Marshal.ByteArrayToStructureBigEndianGenerated<SystemBlock>(sector);
|
||||
SystemBlock lifSb = Marshal.ByteArrayToStructureBigEndian<SystemBlock>(sector);
|
||||
AaruLogging.Debug(MODULE_NAME, Localization.magic_0_expected_1, lifSb.magic, LIF_MAGIC);
|
||||
|
||||
return lifSb.magic == LIF_MAGIC;
|
||||
@@ -72,7 +72,7 @@ public sealed partial class LIF
|
||||
|
||||
if(errno != ErrorNumber.NoError) return;
|
||||
|
||||
SystemBlock lifSb = Marshal.ByteArrayToStructureBigEndianGenerated<SystemBlock>(sector);
|
||||
SystemBlock lifSb = Marshal.ByteArrayToStructureBigEndian<SystemBlock>(sector);
|
||||
|
||||
if(lifSb.magic != LIF_MAGIC) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user