special case for games starting with "The"
This commit is contained in:
parent
102f476158
commit
07e984582d
|
@ -33,7 +33,17 @@ namespace BizHawk.Client.DBMan
|
||||||
return Game.GameMetadata + ";" + RomMetadata;
|
return Game.GameMetadata + ";" + RomMetadata;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string SizeFriendly { get { return string.Format("{0} bytes ({1}k)", Size, Size / 1024); } }
|
public string SizeFriendly { get { return string.Format("{0} bytes ({1}k)", Size, Size / 1024); } }
|
||||||
|
|
||||||
|
public string NameWithTheFlipped
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (!Name.EndsWith(", The")) return Name;
|
||||||
|
return "The "+Name.Substring(0, Name.Length-5);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Game
|
public class Game
|
||||||
|
|
|
@ -308,7 +308,7 @@ namespace BizHawk.Client.DBMan
|
||||||
if (rom.Region.IndexOf("World") >= 0) regionStr += "W";
|
if (rom.Region.IndexOf("World") >= 0) regionStr += "W";
|
||||||
}
|
}
|
||||||
|
|
||||||
string romName = rom.Name;
|
string romName = rom.NameWithTheFlipped;
|
||||||
if (regionStr.Length > 0)
|
if (regionStr.Length > 0)
|
||||||
romName += " ("+regionStr+")";
|
romName += " ("+regionStr+")";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue