/// <summary> /// Autodetects the DFO directory and sets DfoDir. /// </summary> /// <exception cref="System.IO.IOException">The DFO directory could not be detected.</exception> private void AutoDetectDfoDir() { DfoDir = DfoLauncher.AutoDetectGameDir(Game.DFO); }
/// <summary> /// Tries to figure out where the game directory for the game currently selected is and sets /// <c>GameDir</c> to it. /// </summary> /// <exception cref="System.IO.IOException">The game directory could not be detected.</exception> public void AutoDetectGameDir() { GameDir = DfoLauncher.AutoDetectGameDir(GameToLaunch); }