diff --git a/BizHawk.MultiClient/AVOut/FFmpegWriter.cs b/BizHawk.MultiClient/AVOut/FFmpegWriter.cs index 3b50dc3ef7..b1c2d8e1d3 100644 --- a/BizHawk.MultiClient/AVOut/FFmpegWriter.cs +++ b/BizHawk.MultiClient/AVOut/FFmpegWriter.cs @@ -58,10 +58,11 @@ namespace BizHawk.MultiClient public void OpenFile(string baseName) { - string s = System.IO.Path.GetFileNameWithoutExtension(baseName); - ext = System.IO.Path.GetExtension(baseName); + this.baseName = System.IO.Path.Combine( + System.IO.Path.GetDirectoryName(baseName), + System.IO.Path.GetFileNameWithoutExtension(baseName)); - this.baseName = s; + this.ext = System.IO.Path.GetExtension(baseName); segment = 0; OpenFileSegment(); diff --git a/BizHawk.MultiClient/AVOut/NutWriter.cs b/BizHawk.MultiClient/AVOut/NutWriter.cs index 74808578f0..f972978278 100644 --- a/BizHawk.MultiClient/AVOut/NutWriter.cs +++ b/BizHawk.MultiClient/AVOut/NutWriter.cs @@ -41,10 +41,11 @@ namespace BizHawk.MultiClient public void OpenFile(string baseName) { - this.baseName = System.IO.Path.GetFileNameWithoutExtension(baseName); + this.baseName = System.IO.Path.Combine( + System.IO.Path.GetDirectoryName(baseName), + System.IO.Path.GetFileNameWithoutExtension(baseName)); segment = 0; - startsegment(); }