diff --git a/Core/GameInstanceManager.cs b/Core/GameInstanceManager.cs index 2a9ab5f0bb..a3942d7c92 100644 --- a/Core/GameInstanceManager.cs +++ b/Core/GameInstanceManager.cs @@ -623,7 +623,7 @@ public IGame DetermineGame(DirectoryInfo path, IUser user) default: // Prompt user to choose int selection = user.RaiseSelectionDialog( - $"Please select the game that is installed at {path}", + $"Please select the game that is installed at {path.FullName.Replace('/', Path.DirectorySeparatorChar)}", matchingGames.Select(g => g.ShortName).ToArray()); return selection >= 0 ? matchingGames[selection] : null; } diff --git a/GUI/Dialogs/CloneFakeGameDialog.cs b/GUI/Dialogs/CloneFakeGameDialog.cs index 95f7c85f7e..9953414bbb 100644 --- a/GUI/Dialogs/CloneFakeGameDialog.cs +++ b/GUI/Dialogs/CloneFakeGameDialog.cs @@ -53,7 +53,7 @@ private void comboBoxKnownInstance_SelectedIndexChanged(object sender, EventArgs string sel = comboBoxKnownInstance.SelectedItem as string; textBoxClonePath.Text = string.IsNullOrEmpty(sel) ? "" - : manager.Instances[sel].GameDir(); + : manager.Instances[sel].GameDir().Replace('/', Path.DirectorySeparatorChar); } ///