Add skeleton for Good for @tractivo

This commit is contained in:
Matt Nadareski
2016-04-21 12:54:39 -07:00
parent d9e298373c
commit 729a0fd71f
5 changed files with 39 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ namespace SabreTools.Helper
public class Remapping
{
// Remapping classes represented by dictionaries (from, to)
public static Dictionary<string, string> Good = new Dictionary<string, string>();
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>();
@@ -36,7 +37,7 @@ namespace SabreTools.Helper
// Create array of dictionary names
string[] remappings =
{
"MAME", "MaybeIntro", "NoIntro", "NonGood", "Redump", "TOSEC", "TruRip",
"Good", "MAME", "MaybeIntro", "NoIntro", "NonGood", "Redump", "TOSEC", "TruRip",
};
// Loop through and add all remappings
@@ -83,6 +84,9 @@ namespace SabreTools.Helper
{
switch (mapping)
{
case "Good":
Good.Add(node.Attributes["from"].Value, node.Attributes["to"].Value);
break;
case "MAME":
MAME.Add(node.Attributes["from"].Value, node.Attributes["to"].Value);
break;