Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Sep 29, 2024
1 parent 06d69dd commit 820d874
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
30 changes: 15 additions & 15 deletions Img2Ffu.Library/Writer/FFUFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ public static void GenerateFFU(
};

List<(
uint MinSectorCount,
List<GPT.Partition> partitions,
byte[] StoreHeaderBuffer,
byte[] WriteDescriptorBuffer,
KeyValuePair<ByteArrayKey, BlockPayload>[] BlockPayloads,
uint MinSectorCount,
List<GPT.Partition> partitions,
byte[] StoreHeaderBuffer,
byte[] WriteDescriptorBuffer,
KeyValuePair<ByteArrayKey, BlockPayload>[] BlockPayloads,
VirtualDisk? InputDisk
)> StoreGenerationParameters = [];

Expand All @@ -140,11 +140,11 @@ public static void GenerateFFU(
Logging.Log($"[Store #{StoreIndex}] Is Fixed Disk Length: {inputForStore.IsFixedDiskLength}");

(
uint MinSectorCount,
List<GPT.Partition> partitions,
byte[] StoreHeaderBuffer,
byte[] WriteDescriptorBuffer,
KeyValuePair<ByteArrayKey, BlockPayload>[] BlockPayloads,
uint MinSectorCount,
List<GPT.Partition> partitions,
byte[] StoreHeaderBuffer,
byte[] WriteDescriptorBuffer,
KeyValuePair<ByteArrayKey, BlockPayload>[] BlockPayloads,
VirtualDisk? InputDisk
) GeneratedStoreParameters = StoreFactory.GenerateStore(
inputForStore,
Expand Down Expand Up @@ -219,11 +219,11 @@ public static void GenerateFFU(
ChunkUtils.RoundUpToChunks(FFUMetadataHeaderStream, BlockSize);

foreach ((
uint _,
List<GPT.Partition> _,
byte[] StoreHeaderBuffer,
byte[] WriteDescriptorBuffer,
KeyValuePair<ByteArrayKey, BlockPayload>[] _,
uint _,
List<GPT.Partition> _,
byte[] StoreHeaderBuffer,
byte[] WriteDescriptorBuffer,
KeyValuePair<ByteArrayKey, BlockPayload>[] _,
VirtualDisk? _
) in StoreGenerationParameters)
{
Expand Down
10 changes: 5 additions & 5 deletions Img2Ffu.Library/Writer/StoreFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ private static (Stream InputStream, VirtualDisk? InputDisk) OpenInput(string Inp
}

internal static (
uint MinSectorCount,
List<GPT.Partition> partitions,
byte[] StoreHeaderBuffer,
byte[] WriteDescriptorBuffer,
KeyValuePair<ByteArrayKey, BlockPayload>[] BlockPayloads,
uint MinSectorCount,
List<GPT.Partition> partitions,
byte[] StoreHeaderBuffer,
byte[] WriteDescriptorBuffer,
KeyValuePair<ByteArrayKey, BlockPayload>[] BlockPayloads,
VirtualDisk? InputDisk
) GenerateStore(
InputForStore InputForStore,
Expand Down

0 comments on commit 820d874

Please sign in to comment.