diff --git a/DICUI.Library/DD/Parameters.cs b/DICUI.Library/DD/Parameters.cs index 549ff272..87c1236d 100644 --- a/DICUI.Library/DD/Parameters.cs +++ b/DICUI.Library/DD/Parameters.cs @@ -265,9 +265,18 @@ namespace DICUI.DD InputFileValue = $"\\\\?\\{driveLetter}:"; OutputFileValue = filename; - // TODO: Refine the block size more based on media type (1440K for FDD, etc.) + // TODO: Add more common block sizes this[Flag.BlockSize] = true; - BlockSizeValue = 1024 * 1024 * 1024; + switch (type) + { + case MediaType.FloppyDisk: + BlockSizeValue = 1440 * 1024; + break; + + default: + BlockSizeValue = 1024 * 1024 * 1024; + break; + } this[Flag.Progress] = true; this[Flag.Size] = true; diff --git a/DICUI.Library/Data/Enumerations.cs b/DICUI.Library/Data/Enumerations.cs index d35fb289..0089b56d 100644 --- a/DICUI.Library/Data/Enumerations.cs +++ b/DICUI.Library/Data/Enumerations.cs @@ -48,7 +48,7 @@ NONE = 0, Aaru, - DD, // TODO: Currently partially implemented + DD, DiscImageCreator, } diff --git a/DICUI.Library/Data/SubmissionInfo.cs b/DICUI.Library/Data/SubmissionInfo.cs index 9dac8acb..7a202f72 100644 --- a/DICUI.Library/Data/SubmissionInfo.cs +++ b/DICUI.Library/Data/SubmissionInfo.cs @@ -249,12 +249,12 @@ namespace DICUI.Data /// public class CommonDiscInfoSection { - // TODO: Name not defined + // Name not defined by Redump [JsonProperty(PropertyName = "d_system", Required = Required.AllowNull)] [JsonConverter(typeof(KnownSystemConverter))] public KnownSystem? System { get; set; } - // TODO: Name not defined + // Name not defined by Redump // TODO: Have this convert to a new `RedumpMedia?` if possible, for submission [JsonProperty(PropertyName = "d_media", Required = Required.AllowNull)] [JsonConverter(typeof(MediaTypeConverter))] diff --git a/DICUI/App.config b/DICUI/App.config index 084e9444..56820bc8 100644 --- a/DICUI/App.config +++ b/DICUI/App.config @@ -3,6 +3,7 @@ + diff --git a/DICUI/Windows/OptionsWindow.xaml b/DICUI/Windows/OptionsWindow.xaml index 99cd7548..1a1b128f 100644 --- a/DICUI/Windows/OptionsWindow.xaml +++ b/DICUI/Windows/OptionsWindow.xaml @@ -40,6 +40,12 @@