fix: fixed parsing of “a” dump flag
This commit is contained in:
@@ -434,6 +434,13 @@ namespace gaseous_identifier.classes
|
||||
if (dToken.Length > 0)
|
||||
{
|
||||
string[] dTokenCompare = dToken.Split(" ");
|
||||
if (dTokenCompare[0].Trim().ToLower().StartsWith("a"))
|
||||
{
|
||||
romObject.flags.Add(dTokenCompare[0].Trim());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
switch (dTokenCompare[0].Trim().ToLower())
|
||||
{
|
||||
case "cr":
|
||||
@@ -466,6 +473,7 @@ namespace gaseous_identifier.classes
|
||||
romObject.flags.Add(dToken);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -38,6 +38,11 @@ namespace gaseous_identifier.objects
|
||||
public string? Language { get; set; }
|
||||
public string? Copyright { get; set; }
|
||||
public List<Rom> Roms { get; set; } = new List<Rom>();
|
||||
public int RomCount { get
|
||||
{
|
||||
return Roms.Count();
|
||||
}
|
||||
}
|
||||
|
||||
public enum DemoTypes
|
||||
{
|
||||
|
Reference in New Issue
Block a user