mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SimpleSort] Fix hash copying
This commit is contained in:
@@ -673,7 +673,10 @@ namespace SabreTools.Helper
|
|||||||
// Then output the headered rom (renamed)
|
// Then output the headered rom (renamed)
|
||||||
Rom newfound = found;
|
Rom newfound = found;
|
||||||
newfound.Name = Path.GetFileNameWithoutExtension(newfound.Name) + " (" + rom.CRC + ")" + Path.GetExtension(newfound.Name);
|
newfound.Name = Path.GetFileNameWithoutExtension(newfound.Name) + " (" + rom.CRC + ")" + Path.GetExtension(newfound.Name);
|
||||||
newfound = rom;
|
newfound.Size = rom.Size;
|
||||||
|
newfound.CRC = rom.CRC;
|
||||||
|
newfound.MD5 = rom.MD5;
|
||||||
|
newfound.SHA1 = rom.SHA1;
|
||||||
|
|
||||||
// Add rom to the matched list
|
// Add rom to the matched list
|
||||||
key = newfound.Size + "-" + newfound.CRC;
|
key = newfound.Size + "-" + newfound.CRC;
|
||||||
|
|||||||
Reference in New Issue
Block a user