mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix VerifyDepot
This commit is contained in:
@@ -2520,7 +2520,8 @@ namespace SabreTools.Library.DatFiles
|
||||
Items.BucketBy(BucketedBy.SHA1, DedupeType.None);
|
||||
|
||||
// Then we want to loop through each of the hashes and see if we can rebuild
|
||||
foreach (string hash in Items.Keys)
|
||||
var keys = Items.SortedKeys.ToList();
|
||||
foreach (string hash in keys)
|
||||
{
|
||||
// Pre-empt any issues that could arise from string length
|
||||
if (hash.Length != Constants.SHA1Length)
|
||||
@@ -2620,7 +2621,8 @@ namespace SabreTools.Library.DatFiles
|
||||
Items.BucketBy(BucketedBy.CRC, DedupeType.Full);
|
||||
|
||||
// Then follow the same tactics as before
|
||||
foreach (string key in Items.Keys)
|
||||
var keys = Items.SortedKeys.ToList();
|
||||
foreach (string key in keys)
|
||||
{
|
||||
List<DatItem> roms = Items[key];
|
||||
foreach (DatItem rom in roms)
|
||||
|
||||
Reference in New Issue
Block a user