mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Try to fix output path checks (fixes #111)
This commit is contained in:
@@ -354,7 +354,7 @@ namespace DICUI
|
||||
/// <returns>Filled DumpEnvironment instance</returns>
|
||||
private DumpEnvironment DetermineEnvironment()
|
||||
{
|
||||
return new DumpEnvironment()
|
||||
var env = new DumpEnvironment()
|
||||
{
|
||||
// Paths to tools
|
||||
SubdumpPath = _options.SubDumpPath,
|
||||
@@ -376,6 +376,9 @@ namespace DICUI
|
||||
System = SystemTypeComboBox.SelectedItem as KnownSystemComboBoxItem,
|
||||
Type = MediaTypeComboBox.SelectedItem as MediaType?
|
||||
};
|
||||
|
||||
env.FixOutputPaths();
|
||||
return env;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -187,6 +187,8 @@ namespace DICUI.Utilities
|
||||
if (Drive == null)
|
||||
return null;
|
||||
|
||||
FixOutputPaths();
|
||||
|
||||
// Set the proper parameters
|
||||
DICParameters = new Parameters(System, Type, Drive.Letter, Path.Combine(OutputDirectory, OutputFilename), driveSpeed, ParanoidMode, RereadAmountC2);
|
||||
if (QuietMode)
|
||||
|
||||
Reference in New Issue
Block a user