Add maybe-intro mappings

This commit is contained in:
Matt Nadareski
2016-04-07 12:37:23 -07:00
parent 42d6c7bf04
commit c19b5ba1b2
4 changed files with 66 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ namespace SabreTools.Helper
{
// Remapping classes represented by dictionaries
public static Dictionary<string, string> MAME = new Dictionary<string, string>();
public static Dictionary<string, string> MaybeIntro = new Dictionary<string, string>();
public static Dictionary<string, string> NoIntro = new Dictionary<string, string>();
public static Dictionary<string, string> NonGood = new Dictionary<string, string>();
public static Dictionary<string, string> Redump = new Dictionary<string, string>();
@@ -26,7 +27,7 @@ namespace SabreTools.Helper
// Create array of dictionary names
string[] remappings =
{
"MAME", "NoIntro", "NonGood", "Redump", "TOSEC", "TruRip",
"MAME", "MaybeIntro", "NoIntro", "NonGood", "Redump", "TOSEC", "TruRip",
};
// Loop through and add all remappings
@@ -76,6 +77,9 @@ namespace SabreTools.Helper
case "MAME":
MAME.Add(node.Attributes["from"].Value, node.Attributes["to"].Value);
break;
case "MaybeIntro":
MaybeIntro.Add(node.Attributes["from"].Value, node.Attributes["to"].Value);
break;
case "NoIntro":
NoIntro.Add(node.Attributes["from"].Value, node.Attributes["to"].Value);
break;