diff --git a/BizHawk.Client.Common/PathManager.cs b/BizHawk.Client.Common/PathManager.cs index 9de45d23a7..b0d0542e88 100644 --- a/BizHawk.Client.Common/PathManager.cs +++ b/BizHawk.Client.Common/PathManager.cs @@ -11,7 +11,7 @@ namespace BizHawk.Client.Common { public static string GetExeDirectoryAbsolute() { - string path = Path.GetDirectoryName(Assembly.GetCallingAssembly().Location); + string path = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location); if (path.EndsWith(Path.DirectorySeparatorChar.ToString())) { path = path.Remove(path.Length - 1, 1);