Account for game names having quotes in them, fixes NES Ivan Ironman Stewart's Super Off-Road
This commit is contained in:
parent
ed5b4120a5
commit
2c1f0013c3
|
@ -258,7 +258,8 @@ namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
var filesystemSafeName = game.Name
|
var filesystemSafeName = game.Name
|
||||||
.Replace("|", "+")
|
.Replace("|", "+")
|
||||||
.Replace(":", " -"); // adelikat - Path.GetFileName scraps everything to the left of a colon unfortunately, so we need this hack here
|
.Replace(":", " -") // adelikat - Path.GetFileName scraps everything to the left of a colon unfortunately, so we need this hack here
|
||||||
|
.Replace("\"", ""); // adelikat - Ivan Ironman Stewart's Super Off-Road has quotes in game name
|
||||||
|
|
||||||
// zero 06-nov-2015 - regarding the below, i changed my mind. for libretro i want subdirectories here.
|
// zero 06-nov-2015 - regarding the below, i changed my mind. for libretro i want subdirectories here.
|
||||||
var filesystemDir = Path.GetDirectoryName(filesystemSafeName);
|
var filesystemDir = Path.GetDirectoryName(filesystemSafeName);
|
||||||
|
|
Loading…
Reference in New Issue