mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix key issue in parsing
This commit is contained in:
@@ -272,7 +272,7 @@ namespace SabreTools.Helper
|
||||
}
|
||||
|
||||
// Now add the rom to the dictionary
|
||||
string key = rom.CRC + "-" + rom.Size;
|
||||
string key = rom.Size + "-" + rom.CRC;
|
||||
if (datdata.Roms.ContainsKey(key))
|
||||
{
|
||||
datdata.Roms[key].Add(rom);
|
||||
@@ -502,7 +502,7 @@ namespace SabreTools.Helper
|
||||
};
|
||||
|
||||
// Add the new rom
|
||||
string key = rom.CRC + "-" + rom.Size;
|
||||
string key = rom.Size + "-" + rom.CRC;
|
||||
if (datdata.Roms.ContainsKey(key))
|
||||
{
|
||||
datdata.Roms[key].Add(rom);
|
||||
|
||||
Reference in New Issue
Block a user