REFACTOR: All refactor in DiscImageChef.Partitions.

This commit is contained in:
2017-12-22 16:53:11 +00:00
parent 97d35a8e8e
commit fabb50584e
18 changed files with 190 additions and 202 deletions

View File

@@ -72,11 +72,13 @@ namespace DiscImageChef.Partitions
byte[] sector = imagePlugin.ReadSector(sectorOffset);
AtariTable table = new AtariTable();
table.boot = new byte[342];
table.icdEntries = new AtariEntry[8];
table.unused = new byte[12];
table.entries = new AtariEntry[4];
AtariTable table = new AtariTable
{
boot = new byte[342],
icdEntries = new AtariEntry[8],
unused = new byte[12],
entries = new AtariEntry[4]
};
Array.Copy(sector, 0, table.boot, 0, 342);