Add and use ItemDictionary class

This commit is contained in:
Matt Nadareski
2020-07-26 22:34:45 -07:00
parent efc90457e5
commit 4f28ae7f61
22 changed files with 879 additions and 812 deletions

View File

@@ -261,9 +261,9 @@ namespace RombaSharp
// Loop through the parsed entries
bool hasItems = false;
foreach (string romkey in tempdat.Keys)
foreach (string romkey in tempdat.Items.Keys)
{
foreach (DatItem datItem in tempdat[romkey])
foreach (DatItem datItem in tempdat.Items[romkey])
{
Globals.Logger.Verbose($"Checking and adding file '{datItem.Name}'");