ffmpegwriter and nutwriter: fix pathname select
This commit is contained in:
parent
50b6a36661
commit
6925df2154
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue