Temporary fix for GetRelativePath arguments until I can debug

see f79b7e5be, db74bd842
This commit is contained in:
YoshiRulz 2021-01-26 12:48:30 +10:00
parent db74bd8426
commit 4f1b240065
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ namespace BizHawk.Client.EmuHawk
new XElement("LoadAssets",
names.Select(n => new XElement(
"Asset",
new XAttribute("FileName", PathExtensions.GetRelativePath(basePath, n))
new XAttribute("FileName", OSTailoredCode.IsUnixHost ? PathExtensions.GetRelativePath(n, basePath) : PathExtensions.GetRelativePath(basePath, n))
))
)
);