mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add skeleton for Good for @tractivo
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user