[DatItem] Fix child classes equatiblity

This commit is contained in:
Matt Nadareski
2016-09-19 22:28:17 -07:00
parent 9a7be539fb
commit de5e63a695
6 changed files with 14 additions and 14 deletions

View File

@@ -103,13 +103,13 @@
public override bool Equals(DatItem other)
{
// If we don't have a rom, return false
if (_itemType == other.Type)
// If we don't have a biosset, return false
if (_itemType != other.Type)
{
return false;
}
// Otherwise, treat it as a rom
// Otherwise, treat it as a biosset
BiosSet newOther = (BiosSet)other;
// If the archive information matches