diff --git a/BizHawk.Client.Common/PathManager.cs b/BizHawk.Client.Common/PathManager.cs index 4146558608..b829c8ec2e 100644 --- a/BizHawk.Client.Common/PathManager.cs +++ b/BizHawk.Client.Common/PathManager.cs @@ -8,7 +8,12 @@ namespace BizHawk.Client.Common { public static string GetExeDirectoryAbsolute() { - return AppDomain.CurrentDomain.BaseDirectory; + string path = AppDomain.CurrentDomain.BaseDirectory; + if (path.EndsWith(Path.DirectorySeparatorChar.ToString())) + { + path = path.Remove(path.Length - 1, 1); + } + return path; } ///