Lua - fix a relative path bug when saving a lua session

This commit is contained in:
adelikat 2015-03-03 01:19:38 +00:00
parent bccaeda3f8
commit b82e19f230
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ namespace BizHawk.Client.Common
sb
.Append(file.Enabled ? "1" : "0")
.Append(' ')
.Append(PathManager.MakeRelativeTo(file.Path, Path.GetDirectoryName(path)))
.Append(PathManager.MakeRelativeTo(PathManager.MakeAbsolutePath(file.Path, ""), Path.GetDirectoryName(path)))
.AppendLine();
}