From 4f1b240065195b7d52a491dd2dced4cead36ea04 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Tue, 26 Jan 2021 12:48:30 +1000 Subject: [PATCH] Temporary fix for GetRelativePath arguments until I can debug see f79b7e5be, db74bd842 --- .../tools/MultiDiskBundler/MultiDiskBundler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.EmuHawk/tools/MultiDiskBundler/MultiDiskBundler.cs b/src/BizHawk.Client.EmuHawk/tools/MultiDiskBundler/MultiDiskBundler.cs index 1a00d10eb4..79cd66b069 100644 --- a/src/BizHawk.Client.EmuHawk/tools/MultiDiskBundler/MultiDiskBundler.cs +++ b/src/BizHawk.Client.EmuHawk/tools/MultiDiskBundler/MultiDiskBundler.cs @@ -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)) )) ) );