Move path normalization to better place

This commit is contained in:
Matt Nadareski
2022-02-13 22:49:33 -08:00
parent f12375cddc
commit 1e1d2c7b63
2 changed files with 4 additions and 3 deletions

View File

@@ -8,6 +8,7 @@
- Add option to limit region and language selections
- Cap X360 directory check to 500MB
- Assign normalized path to parameters
- Move path normalization to better place
### 2.3 (2022-02-05)
- Start overhauling Redump information pulling, again

View File

@@ -1202,9 +1202,6 @@ namespace MPF.GUI.ViewModels
// One last check to determine environment, just in case
Env = DetermineEnvironment();
// Run path adjustments for DiscImageCreator
Env.AdjustPathsForDiscImageCreator();
// If still in custom parameter mode, check that users meant to continue or not
if (App.Instance.EnableParametersCheckBox.IsChecked == true)
{
@@ -1220,6 +1217,9 @@ namespace MPF.GUI.ViewModels
// If "No", then we continue with the current known environment
}
// Run path adjustments for DiscImageCreator
Env.AdjustPathsForDiscImageCreator();
try
{
// Validate that the user explicitly wants an inactive drive to be considered for dumping