Fix GetExePath function to remove "file:\\" from the directory string. That was causing directory code to freak out. Play movie dialog now successfully creates the movie directory and searches for movie files
This commit is contained in:
parent
a82bb3718b
commit
8814385916
|
@ -11,7 +11,11 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
public static string GetExePathAbsolute()
|
||||
{
|
||||
return Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
|
||||
string p = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
|
||||
if (p.Substring(0, 6) == "file:\\")
|
||||
p = p.Remove(0, 6);
|
||||
string z = p;
|
||||
return p;
|
||||
}
|
||||
|
||||
public static string GetBasePathAbsolute()
|
||||
|
|
Loading…
Reference in New Issue