[AaruFormat] Fix wrong reference.

This commit is contained in:
2025-10-14 02:35:25 +01:00
parent 324500fa48
commit c7bc5365a8

View File

@@ -23,7 +23,7 @@ public sealed partial class AaruFormat
var dumpMs = new MemoryStream();
byte[] structureBytes;
foreach(DumpHardware dump in DumpHardware)
foreach(DumpHardware dump in dumpHardware)
{
byte[] dumpManufacturer = null;
byte[] dumpModel = null;
@@ -131,7 +131,7 @@ public sealed partial class AaruFormat
var dumpBlock = new DumpHardwareHeader
{
Identifier = BlockType.DumpHardwareBlock,
Entries = (ushort)DumpHardware.Count,
Entries = (ushort)dumpHardware.Count,
Crc64 = Swapping.Swap(BitConverter.ToUInt64(dumpCrc, 0)),
Length = (uint)dumpMs.Length
};