mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] Remove Hash struct
This is a bit controversial, even for me, but for the time being, we need to tie very specific information to each type of item. That means that a Rom and a Disk, though they both have hashes, they have different hashes. I'm going to see how this plays out for the time being.
This commit is contained in:
@@ -245,7 +245,7 @@ JOIN checksums
|
||||
sldr.GetString(6), null, sldr.GetString(0), null, null, null, null, false, null, null, sldr.GetInt32(2),
|
||||
sldr.GetString(1), sldr.GetInt32(5), sldr.GetString(3));
|
||||
|
||||
key = ((Disk)temp).HashData.Size + "-" + ((Disk)temp).HashData.CRC;
|
||||
key = ((Disk)temp).MD5;
|
||||
break;
|
||||
case "rom":
|
||||
default:
|
||||
@@ -253,7 +253,7 @@ JOIN checksums
|
||||
sldr.GetString(13), sldr.GetString(6), null, sldr.GetString(6), null, sldr.GetString(0), null, null, null, null, false,
|
||||
null, null, sldr.GetInt32(2), sldr.GetString(1), sldr.GetInt32(5), sldr.GetString(3));
|
||||
|
||||
key = ((Disk)temp).HashData.Size + "-" + ((Disk)temp).HashData.CRC;
|
||||
key = ((Rom)temp).Size + "-" + ((Rom)temp).CRC;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user