mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Better equality code
This commit is contained in:
@@ -583,13 +583,10 @@ namespace SabreTools.Library.DatFiles
|
||||
{
|
||||
string key = oldkeys[k];
|
||||
|
||||
// Get the unsorted current list
|
||||
List<DatItem> items = this[key];
|
||||
|
||||
// Now add each of the roms to their respective keys
|
||||
for (int i = 0; i < items.Count; i++)
|
||||
for (int i = 0; i < this[key].Count; i++)
|
||||
{
|
||||
DatItem item = items[i];
|
||||
DatItem item = this[key][i];
|
||||
if (item == null)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user