mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[RomManipulation] Fix disk parsing in CMP DATs
This commit is contained in:
@@ -277,6 +277,12 @@ namespace SabreTools.Helper
|
||||
}
|
||||
}
|
||||
|
||||
// If we have a disk, make sure that the value for size is -1
|
||||
if (rom.Type == "disk")
|
||||
{
|
||||
rom.Size = -1;
|
||||
}
|
||||
|
||||
// Now add the rom to the dictionary
|
||||
string key = rom.Size + "-" + rom.CRC;
|
||||
if (datdata.Roms.ContainsKey(key))
|
||||
|
||||
Reference in New Issue
Block a user