fix issue where mario bros 3. gets auxilary files created as mario bros. how it got this way is a bit baffling, so i hope i didnt break anything
This commit is contained in:
parent
75bed1f242
commit
f951b5e932
|
@ -281,7 +281,10 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
string filesystemSafeName = game.Name.Replace("|", "+");
|
||||
filesystemSafeName = RemoveInvalidFileSystemChars(filesystemSafeName);
|
||||
return Path.Combine(Path.GetDirectoryName(filesystemSafeName), Path.GetFileNameWithoutExtension(filesystemSafeName));
|
||||
//zero 22-jul-2012 - i dont think this is used the same way it used to. game.Name shouldnt be a path, so this stuff is illogical.
|
||||
//if game.Name is a path, then someone shouldve made it not-a-path already.
|
||||
//return Path.Combine(Path.GetDirectoryName(filesystemSafeName), Path.GetFileNameWithoutExtension(filesystemSafeName));
|
||||
return filesystemSafeName;
|
||||
}
|
||||
|
||||
public static string SaveRamPath(GameInfo game)
|
||||
|
|
Loading…
Reference in New Issue