[ALL] DatItem/Machine cleanup and descriptions

This commit is contained in:
Matt Nadareski
2019-01-08 12:11:55 -08:00
parent 9e3df30b90
commit 1768370199
29 changed files with 1402 additions and 1254 deletions

View File

@@ -296,7 +296,7 @@ namespace RombaSharp
{
Globals.Logger.Verbose("Checking and adding file '{0}'", datItem.Name);
if (datItem.Type == ItemType.Rom)
if (datItem.ItemType == ItemType.Rom)
{
Rom rom = (Rom)datItem;
@@ -322,7 +322,7 @@ namespace RombaSharp
}
}
}
else if (datItem.Type == ItemType.Disk)
else if (datItem.ItemType == ItemType.Disk)
{
Disk disk = (Disk)datItem;